Commit Graph
34 Commits
Author SHA1 Message Date
Nicolas Évrard 98e22bf953 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier bf18eef1f1 Add batch option to push queue tasks
issue11129
review381661002
2022-03-09 00:57:17 +01:00
Cédric Krier 0eef086936 Follow isort formatting
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier 1da0d185fd Split process method to avoid create/write in loop
issue10801
review372071002
2021-10-08 19:21:06 +02:00
Cédric Krier 857145a553 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:20 +01:00
Cédric Krier eefeab8515 Remove unused import 2020-11-15 18:17:13 +01:00
Cédric Krier b69734c266 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Sergi Almacellas Abellana 3238861b8b Read template values to compute drop shipment available
issue9350
review327221002
2020-05-22 11:49:35 +02:00
Cédric Krier 993aa8a71a 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 0073bc7d0a 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
Nicolas Évrard a27d1e7c52 Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Cédric Krier 1b86345aed Raise NotImplementedError when setting Function field without setter
issue7985
review265101002
2019-03-27 00:28:57 +01:00
Cédric Krier 8a40432043 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier ff190a1ac6 Use task queue to process sale and purchase
issue7463
issue7460
review50441002
2018-07-27 09:27:11 +02:00
Cédric Krier 594cb3880b Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier 6d40daa082 Correctly convert unit price to set as cost price
The unit price of the supplier move is in the currency of the purchase when
the cost price must be in the company currency.

issue7243
review44901002
2018-04-13 18:49:19 +02:00
Cédric Krier 0a7a58205a Add relate from drop shipment to sales and purchases
issue7016
review36901002
2017-12-20 19:31:44 +01:00
Cédric Krier 3fd534f707 Test purchase_drop_location value before returning id
The default_drop_location method should not fail if there is no
purchase_drop_location configured.

issue6690
2017-08-08 17:18:38 +02:00
Cédric Krier 9ce9aadf21 Set delivery_full_address to customer address
issue6427
review38311002
2017-05-22 18:12:24 +02:00
Cédric Krier 02c8d8dc8b 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:43:14 +02:00
Cédric Krier a0499d9c7f Remove Property fields
issue2349
review36271002
2017-04-01 00:38:16 +02:00
Cédric Krier efbe15bfb3 Use Function field to compute drop_shipment visibility
drop_shipment should not be visible for service products.

issue6293
review30041002
2017-03-08 10:46:46 +01:00
Cédric Krier 53be11b38e Use One2Many fields instead of complex search to handle shipment exception
issue6234
review33121002
2017-02-25 18:44:48 +01:00
Cédric Krier 21ecb79d61 Add Python3 support
issue3211
2016-03-10 00:36:31 +01:00
Cédric Krier 04c033657b Update PurchaseLine.get_move to the new API
issue5059
2015-12-31 17:04:20 +01:00
Nicolas Évrard 54a9ebe86a Do not cancel sale moves when cancelling purchase
issue5107
review15811002
2015-11-17 17:33:21 -03:00
Nicolas Évrard b7887bdd87 Split moves into supplier and customer moves
issue4371
review15641002
2015-10-04 17:55:39 +02:00
Cédric Krier 468c5602aa Fix most flake8 errors
review8771002
2014-12-02 12:56:03 +01:00
Cédric Krier 57c9f06016 New API for on_change
issue4203
review8581002
2014-10-29 20:40:23 +01:00
Nicolas Évrard 88a160c7aa Propagate exception handling from sale to purchase
issue4071
review5491002
2014-09-19 11:41:41 +02:00
Cédric Krier 9964c50075 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:36 +01:00
Cédric Krier aa61ea8465 delivery_address must be required if customer set
If customer is set on purchase than it is always a drop shipment and so the
delivery address must be required.

issue3573
review2531002
2014-01-09 18:42:28 +01:00
Cédric Krier d536fe3035 Fix missing unique shipment migration
issue3110
review754002
2013-04-05 00:17:18 +02:00
Cédric Krier 466d7b712d Initial commit of sale_supply_drop_shipment module
review160001
2013-02-26 20:51:27 +01:00