Commit Graph
54 Commits
Author SHA1 Message Date
Nicolas Évrard 627e071573 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:59 +01:00
Karla Stenger 64863cca1d Remove double space in change_timesheet_available error message
issue5077
review19621002
2015-11-15 17:41:37 -03:00
Cédric Krier 423c3e3570 Split duration into simple and total duration
As the project doesn't have anymore the same tree structure, it requires to
have the duration only of the work but it still needs the total for work
reporting.

issue4970
review20391003
2015-09-17 09:29:43 +02:00
Cédric Krier 749094ea8a Use TimeDelta field
issue4026
review13821002
2015-02-09 23:02:56 +01:00
Cédric Krier d04a2edabb search_global yields record instead of id
It is better for customization to yield record instead of id to prevent to
instantiate a second times the record.

issue4519
review6871002
2015-02-04 13:39:00 +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
Sergi Almacellas Abellana b84078f076 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 19:02:04 +02:00
Cédric Krier 5a6f4d3945 Add icon to global search
review3511002
2014-02-20 23:29:33 +01:00
Cédric Krier 36c5eb9d7e Make hours always visible
hours is also useful for work without timesheet as it could have children with
timesheet.

review2941002
2014-01-26 22:11:53 +01:00
Cédric Krier ad5db6c390 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:42 +01:00
Cédric Krier 93ec49c834 Allow to filter hours per employees
issue3189
review1008002
2013-09-20 17:32:34 +02:00
Cédric Krier f7d1888fc4 Migration to python-sql
review1001002
2013-09-06 22:35:00 +02:00
Sergi Almacellas Abellana 29fac6dc74 Fix readonly state of timesheet_available field.
issue3188
review1035002
2013-09-03 16:19:12 +02:00
Cédric Krier 7760b54204 Improve hours computation
Use the MPTT to SUM hours in one query

review1019002
2013-08-21 18:40:44 +02:00
Cédric Krier 66d8750bfb Fix search on tree rec_name
issue2868
review757002
2013-04-06 12:29:12 +02:00
Albert Cervera i Areny fc12a04688 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:56:10 +01: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
Nicolas Évrard 264337ae06 Add states on hours
review385002
2012-09-21 15:41:53 +02:00
Nicolas Évrard 9554f52d3c Do not compute twice the children timesheets
review355001
2012-05-15 10:31:09 +02:00
Cédric Krier f6de7e71e4 Fix pep8 and pyflakes 2012-04-03 20:07:54 +02:00
Nicolas Évrard 7db9c70972 timesheet_available must be readonly once there are timesheet lines 2012-04-02 12:22:16 +02:00
Nicolas Évrard 1184c45871 merge. 2012-04-02 12:15:35 +02:00
Nicolas Évrard c5862c60a5 remove trailing space 2012-03-30 16:10:58 +02:00
Cédric Krier ea43e189aa Add missing default left/right 2012-03-30 13:05:54 +02:00
Cédric Krier 1353348e81 Replace wrong usage of False by None
issue2512
2012-03-27 10:44:13 +02:00
Sergi Almacellas Abellana 4cbb133baf Added indexes on company fields
Put an index on eveery company field.

issue2184
review221005
2012-03-14 09:35:19 +01: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
Cédric Krier 554a74d63c Add test for depends 2011-08-04 16:57:47 +02:00
Udo Spallek 9ca15bc66e Move field timesheet_lines and method copy from project module.
issue2025
review42002
2011-07-07 12:39:22 +02:00
Cédric Krier 4d1e094395 Change Pool into a Singleton 2011-07-03 13:19:21 +02:00
Cédric Krier df7decbe9b Replace the two actions "Hours per Work" by one board with communication 2011-05-26 15:16:04 +02:00
Phillip Heller b4dfdfc94d Fix for issue1663 - add missing ids arg to function signatures 2010-08-31 02:04:33 -04:00
Phillip Heller e1610eb7f6 Update for new Transaction 2010-08-10 11:59:04 -04:00
Cédric Krier e7e8243d9d New interface for Function/Property fields 2010-03-11 16:55:07 +01: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 66c21ab0f5 Use faster join implementation 2009-08-26 15:57:29 +02:00
Bertrand Chenal 5a98b47755 Added help on hours and timesheet_available 2009-06-03 16:33:29 +02:00
Bertrand Chenal a334526ea1 Added left and right fields on work 2009-06-03 16:32:58 +02:00
Bertrand Chenal 1c09d07c4f Handle inactive records when computing hours spent on work 2009-05-27 18:24:31 +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
Bertrand Chenal 490682e811 Typo: childs > children 2009-03-19 20:00:21 +01: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
Mathias Behrle 60dfc25078 Add _description and docstring to WizardOSV for issue718 2009-01-04 00:54:06 +01: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