Commit Graph
21 Commits
Author SHA1 Message Date
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