Commit Graph
51 Commits
Author SHA1 Message Date
Nicolas Évrard a7d102cc9b Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:13 +02:00
Cédric Krier 07b07bc130 Do not set name to the queue by default
issue11300
review356081002
2022-03-26 12:28:59 +01:00
Cédric Krier 0a3b2c604a Add batch option to push queue tasks
issue11129
review381661002
2022-03-09 00:57:17 +01:00
Cédric Krier 53d7347668 Do not sort state selection
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Cédric Krier c41475b7b2 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier 0a85f56c24 Convert secondary unit price of requisition to request unit
issue10945
review374361002
2021-12-10 22:26:53 +01:00
Cédric Krier f2ff5a1ab5 Compute purchase date of request based on supplier and product
issue10816
review352901002
2021-10-10 22:16:27 +02:00
Maxime Richez 1beb51c49a Add methods to format number and symbol on Lang
and add format number with symbol on Report

issue10730
review371831002
2021-10-04 18:52:01 +02:00
Cédric Krier d438c4367f Provide digits from unit of measure
issue10677
review365801002
2021-08-30 00:27:13 +02:00
Cédric Krier b62c64027e Add monetary field
issue10598
review338511002
2021-08-21 09:09:56 +02:00
Maxime Richez b2115e816c Test if currency is filled on request to return id for line
issue10321
review359541002
2021-04-22 23:54:20 +02:00
Cédric Krier 4d80647891 Remove contextual domain on company
issue10302
review338141004
2021-04-20 09:18:58 +02:00
Nicolas Évrard ef3ec33c78 Call super() method of view_attributes
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Adrià Tarroja Caubet 45c6ce4f1a Clear employee fields on copy
issue10209
review357511002
2021-04-05 16:24:13 +02:00
Cédric Krier 9b819da664 Add company pattern to multivalue calls
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Sergi Almacellas Abellana 5f08b639e0 Use requisition unit price for puchase line
issue10127
review337651002
2021-03-27 21:16:08 +01:00
Cédric Krier a61c37bfc4 Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier c77f264f4b Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Maxime Richez 7ca508bef1 Add summary to line list
A function field summary is added which takes the first line of description
field. This is useful to identify line without product (only with description)
in the list.

issue9695
review292431002
2020-12-25 17:14:57 +01:00
Cédric Krier 1236ed3388 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Cédric Krier d2aa208132 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
David Harper 60bc37498e Rename purchase state from cancel to cancelled
issue8927
review305681002
2020-06-06 10:14:13 +01:00
David Harper 8a5192ce41 Rename purchase requisition state from cancel to cancelled
issue8927
review325441002
2020-06-04 11:07:28 +01:00
Cédric Krier 5196ba7e26 Add employee on document for some states
issue8969
review276621002
2020-04-10 18:53:44 +02:00
Maxime Richez 5108a0e2e2 Allow setting unit on requisition line without product
issue9106
review297121043
2020-03-20 19:07:14 +01:00
Maxime Richez 96a5eb44aa Add button to process requisition
issue9109
review274941016
2020-03-17 18:11:17 +01:00
Cédric Krier c8569c0947 Remove global variables used for field definitions
They give the false idea that they can be extended or reused which is not the
case.

issue8967
review252851012
2020-01-25 20:18:49 +01:00
Maxime Richez 25a8443ff7 Do not require supply date on cancel
issue8976
review286501002
2020-01-10 17:03:58 +01:00
Nicolas Évrard 602a66fb8b Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier c34644df78 Display quantity in record name
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Cédric Krier 511654779b Use a fresh product instance to find best product supplier
This ensure to be able to read all the product suppliers.

issue8723
review284231002
2019-10-24 19:08:07 +02:00
Maxime Richez 34e4eb0c1b Reset purchase_requests field on copy
issue8719
review266181002
2019-10-10 10:04:39 +02:00
Cédric Krier f43ce1a738 Set a category domain on requisition line unit
The unit is used to create a purchase request which has such constraint. But as
they are created by the process method which is queued, the user does not get
any error message.

issue8610
review267971003
2019-09-28 23:13:08 +02:00
Cédric Krier 0c4a696a78 Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Thierry Bruyere d0ad8a9c7d Add a global method to set default warehouse
issue8396
review277371003
2019-09-07 23:13:33 +02:00
Cédric Krier 4ac5c4b4d6 Add secondary unit
issue8239
review271131003
2019-07-28 14:34:20 +02:00
Cédric Krier 4fe53b6448 Allow to reset to draft approved but not processed requisition
Use the queue to process the requisition.

issue8274
review265291002
2019-05-20 17:29:12 +02:00
Cédric Krier 48cc341592 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 8e0e72b369 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 cbe6f1eedb Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier f16c01bff8 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier d20df12ce2 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:52 +02:00
Cédric Krier 48025fc09b Add missing requisition in depends
issue7249
review44201002
2018-03-24 13:48:37 +01:00
Sergi Almacellas Abellana 726dadf5da Add depends on Button
issue6919
review40811002
2018-02-19 11:42:45 +01:00
Cédric Krier ddcb8ad09f Make description on purchase requisition line optional
issue6860
review38971002
2017-12-18 19:05:18 +01:00
Cédric Krier c957ce16b4 Do not crash when calling store_cache and correctly call it
The store_cache method must be called on transition for which the states
should be cached.

issue6981
review36871002
2017-12-06 01:14:07 +01:00
Cédric Krier 01d8b74b13 Do not set description as product record name
It is not needed for internal document as the product can be consulted.

issue6822
review42691002
2017-11-10 10:48:52 +01:00
Sergi Almacellas Abellana acea93f964 Pass pattern argument on multivalue default fields
issue6658
review40541002
2017-07-25 09:55:42 +02:00
Cédric Krier e33409d4f5 Catch KeyError on ModelData.get_id in default method
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.

issue6409
2017-04-01 10:42:21 +02:00
Cédric Krier 06329221fa Remove Property fields
issue2349
review30201002
2017-04-01 00:33:54 +02:00