Cédric Krier
402b9de34a
Do not copy UUID
...
issue8899
review258531002
2019-12-11 18:42:41 +01:00
Cédric Krier
273ba81762
Use ir.calendar.month in timesheet report
...
issue8641
review255921002
2019-09-28 23:52:02 +02:00
EdbO
c2cb86b071
Add date to window name when entering timesheet
...
issue8541
review265711002
2019-07-30 23:34:10 +02:00
Cédric Krier
f940e07313
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:30 +01:00
Cédric Krier
33ab0b5dc6
Replace self by cls in classmethod
...
issue7630
review74341002
2018-09-19 00:15:59 +02:00
Cédric Krier
43bfd3dbea
Add UUID on line for synchronisation
...
On creation if a UUID is provided, we check for existing record to update
instead of create a new one.
issue7607
review51451002
2018-08-25 12:48:24 +02:00
Cédric Krier
dde61cadcb
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
cb829ce937
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:58 +02:00
Cédric Krier
9b40168be8
Fix typo in work help
...
issue6449
review41271002
2017-04-21 15:19:12 +02:00
Sergi Almacellas Abellana
cf1a15783d
Add help text
...
issue6375
review27211002
2017-04-06 15:33:15 +02:00
Xavier Codinas
337fc97e0d
Add domain for employee end and start date
...
issue4435
review29501002
2016-10-19 23:09:33 +02:00
Sergi Almacellas Abellana
3c3e0903cc
Remove usage of header_view_get and string attribute from views
...
issue2350
review25421002
2016-07-05 12:46:40 +02:00
Cédric Krier
64df01fbc6
Remove tree structure and add origin on work
...
issue5599
review25351002
2016-06-24 09:29:22 +02:00
Nicolas Évrard
627e071573
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:55:59 +01:00
Cédric Krier
36adfe1b5e
Remove useless select=True on table_query Model
...
issue5299
review18951002
2016-02-11 22:26:00 +01:00
Cédric Krier
aedd6ee674
Better format for month and week in reports
...
It is better to manage the formatting of those field on the server side to
ensure it doesn't depend on any local number formatting.
So we extract into an internal Char field the values (to ease searcher code)
and we format the using Python format via a Function field.
issue5274
review20691002
2016-02-02 19:54:28 +01:00
Cédric Krier
6a7548ee2b
Force company field in EnterLines
...
This allow to automatically hide the company field just like the employee.
issue4920
review23371002
2015-08-22 08:58:28 +02:00
Cédric Krier
749094ea8a
Use TimeDelta field
...
issue4026
review13821002
2015-02-09 23:02:56 +01:00
Cédric Krier
71c62120e1
Add missing company domain/field
...
issue4311
review7691002
2014-12-03 16:14:26 +01:00
Cédric Krier
682034edd0
Fix most flake8 errors
...
review8771002
2014-12-02 12:56:21 +01:00
Cédric Krier
da0cc4b46b
Default order timesheet lines by descending date
...
review2641002
2014-03-07 21:49:44 +01:00
Cédric Krier
c90edd9d5f
Fix usage of context company
...
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.
issue3394
review1119002
2013-10-09 18:26:02 +02:00
Cédric Krier
f7d1888fc4
Migration to python-sql
...
review1001002
2013-09-06 22:35:00 +02:00
Udo Spallek
f108407194
Use rec_name of employee instead of name.
...
With the removal of _inherits, name is replaced with rec_name.
issue3102
review750002
2013-03-27 15:47:13 +00:00
Cédric Krier
290703bf86
Fix flake8
2013-02-24 16:37:00 +01:00
Cédric Krier
3f0d4f0d87
Add start/end date to work for timesheet
...
review629002
2013-01-26 15:13:51 +01:00
Cédric Krier
efa0234726
Active Record
2012-09-24 22:18:28 +02:00
Robin Baumgartner
dbfc41093a
Fix wrong domain on timesheet.line work
...
issue2774
review514002
2012-09-11 10:11:11 +02:00
Cédric Krier
f6de7e71e4
Fix pep8 and pyflakes
2012-04-03 20:07:54 +02:00
Cédric Krier
1353348e81
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:44:13 +02:00
Mathias Behrle
b4d5350316
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:10 +01:00
Cédric Krier
cf9324f10a
New wizard design
2012-01-02 18:10:18 +01:00
Nicolas Évrard
f3d554a2ce
fix pyflake errors
...
review160006
2011-11-02 16:14:08 +01:00
Cédric Krier
554a74d63c
Add test for depends
2011-08-04 16:57:47 +02:00
Cédric Krier
4d1e094395
Change Pool into a Singleton
2011-07-03 13:19:21 +02:00
Cédric Krier
bf1535a1f5
Fix column name in table_query for issue1676
2010-09-19 17:11:49 +02:00
Phillip Heller
e1610eb7f6
Update for new Transaction
2010-08-10 11:59:04 -04:00
Cédric Krier
8f1c983f7b
Don't hardcode True in SQL query to be backend independent
2010-07-01 20:47:30 +02:00
Cédric Krier
ebc5d1835f
Use get_id of ir.model.data
2010-01-21 12:10:31 +01:00
Cédric Krier
4bdf51feca
Use PySON
2010-01-20 11:05:35 +01:00
Cédric Krier
bc7cb4478e
Use Char instead of Integer for year for issue1185
2009-09-23 09:54:20 +02:00
Cédric Krier
3a22f450f7
Add missing create/write uid/date in table_query Models
2009-09-07 12:22:03 +02:00
Cédric Krier
f6bdc89719
Change string domain into list
2009-06-23 18:49:20 +02:00
Bertrand Chenal
cb0360316a
Improvement on timesheet work:
...
- removed state and type fields
- added timesheet_available and company fields
- childs is now children
2009-05-22 19:11:29 +02:00
Cédric Krier
f7780c0caa
Remove OSV and WizardOSV
2009-02-28 17:07:12 +01:00
Cédric Krier
3545f07135
Replace name_get, name_search with get_rec_name and search_rec_name
...
Return only id for default value of many2one
2009-02-17 11:53:13 +01:00
Cédric Krier
dc845717a9
Fix for new view_header_get must return string
2009-02-02 13:13:36 +01:00
Mathias Behrle
60dfc25078
Add _description and docstring to WizardOSV for issue718
2009-01-04 00:54:06 +01:00
Cédric Krier
d55dc27733
Use ir.date
2008-10-08 12:20:33 +02:00
Cédric Krier
68d51afcfd
Fix search on ir.model.data for new inherit field for issue394
2008-09-23 20:14:22 +02:00