EdbO
5c4a253456
Remove active from timesheet work as it is not needed
...
issue7223
review287851002
2021-04-12 10:58:52 +02:00
Cédric Krier
a1698aafbb
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
4ce76f0042
Use cache to fill Reference selections
...
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Cédric Krier
25f6ed3ead
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier
ebe5835f44
Test if origin is ModelStorage instance before calling rec_name
...
The origin could have a negative id and so the value is a string which is not
usable origin for record name.
issue7948
review52581002
2019-01-15 00:03:52 +01:00
Cédric Krier
f940e07313
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:30 +01:00
Cédric Krier
49a059751f
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:04 +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
Sergi Almacellas Abellana
67a45056d9
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:15:29 +02:00
Cédric Krier
37ff01355f
Fix typo in mismatch_company error message
...
issue6459
review39321002
2017-04-21 22:31:59 +02:00
Sergi Almacellas Abellana
cf1a15783d
Add help text
...
issue6375
review27211002
2017-04-06 15:33:15 +02:00
Cédric Krier
f4b053a24d
Add domain on start/end date of work
...
issue5949
review32651002
2016-10-13 09:44:48 +02:00
Cédric Krier
234526e622
Use a self referencing Many2One as graph x axis
...
The client group by the value of the field, so it is unique
in contrary of the name.
issue5525
review27441002
2016-07-07 10:29:13 +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
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