Cédric Krier
62b6c25b1b
Update work state on production waiting
...
Also a work with cycle should not be set back to request.
issue11859
review415881003
2022-11-24 19:12:19 +01:00
Cédric Krier
cc8e5c2bc6
Update production work state on write
...
Writing on the One2Many cycles may modify the state of the work.
issue11823
review426021003
2022-10-28 00:35:20 +02:00
Cédric Krier
38081b9a8a
Use declarative index definition for ModelSQL
...
issue5757
review361251002
2022-10-11 00:44:50 +02:00
Nicolas Évrard
9732e2e66c
Send only the required fields when fetching a readonly view definition
...
issue11134
review380081002
2022-04-08 19:07:13 +02:00
Cédric Krier
98262b624e
Do not sort state selection
...
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Cédric Krier
b68ca797fc
Follow isort formatting
...
issue10928
2021-12-11 17:58:43 +01:00
Sergi Almacellas Abellana
ef41e92000
Add start and stop buttons on works
...
issue9418
review317661005
2020-10-12 19:24:42 +02:00
Cédric Krier
14fbf769da
Add round_price
...
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.
issue9146
review299521002
2020-04-23 21:44:00 +02:00
Cédric Krier
e506de7964
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:53 +01:00
Sergi Almacellas Abellana
48b1c7150c
Make work center not required on request and draft states
...
issue8888
review280531002
2019-12-18 09:25:12 +01:00
Cédric Krier
d29e4b3677
Add missing parent depends
...
issue8712
review258221002
2019-10-16 21:20:14 +02:00
Thierry Bruyere
a2dad3e01b
Add a global method to set default warehouse
...
issue8396
review277371003
2019-09-07 23:13:33 +02:00
Cédric Krier
4707fabdf8
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
ceff7fdc3b
Use tree mixin
...
issue7383
review45431002
2018-05-12 00:52:30 +02:00
Sergi Almacellas Abellana
987310e7d0
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:12:27 +02:00
Sergi Almacellas Abellana
77472844cd
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:39:16 +01:00
Cédric Krier
778694a404
Set work state at creation
...
Works can be created when the production is already running so the state must
be computed to no more be the default 'request' state otherwise it is not
possible to add cycles.
issue6720
review40751004
2017-10-18 14:58:52 +02:00
Cédric Krier
88b088e1db
Manage None as value of field in on_change method
...
issue6069
review27851002
2016-11-27 22:15:55 +01:00
Sergi Almacellas Abellana
3b9874d101
Use sequence_ordered
...
issue5105
2016-09-13 14:08:09 +02:00
Cédric Krier
6d96d99494
Add production name to work name
...
issue5603
review27321002
2016-06-18 12:37:04 +02:00
Cédric Krier
dac974fb90
Prefix with "Production" Work to avoid confusion with Timesheet Work
2016-06-03 16:16:54 +02:00
Cédric Krier
76b8ee90c4
Initial commit
...
issue5212
review21521002
2016-03-21 23:27:20 +01:00