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
1bd924a68f
Always return boolean for sale_supply_drop_shipment
...
issue9968
review293041004
2021-01-13 00:28:29 +01:00
Cédric Krier
689497e93e
Add sale_supply_production module
...
issue3257
review256721002
2020-04-13 14:49:07 +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
Cédric Krier
feb13a51a7
Fill customer request with the shipment party if set
...
issue8989
review274701002
2020-01-20 11:29:17 +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
a7bfc6fb6f
Allow to define product supplier on variants
...
issue6799
review66551002
2019-03-15 11:30:21 +01:00
Cédric Krier
594cb3880b
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier
8c9feb4ed3
Create drop shipment depending on the shipment method
...
The purchase request may be created later so not having one does not mean that
no drop shipment will be created.
issue7200
review44111002
2018-03-22 14:54:31 +01: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
bf3992287e
Do not create drop move
...
if the purchase request is cancel or the purchase line has done all the moves.
Otherwise the created drop move will never be linked to a drop shipment.
issue6704
review38551002
2017-08-28 18:24:11 +02:00
Cédric Krier
d7a3b188f9
Test sale_drop_location value before returning id
...
The default_drop_location method should not fail if there is no
sale_drop_location configured.
issue6690
review35221002
2017-08-07 12:44:27 +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
21ecb79d61
Add Python3 support
...
issue3211
2016-03-10 00:36:31 +01:00
Cédric Krier
cdf71ba8bd
No more need to set cost price on move
...
issue5017
review20441003
2015-10-08 19:46:51 +02:00
Cédric Krier
62b9acbc37
supply_on_sale should not always return True if there is no moves
...
issue5017
review20441003
2015-10-08 19:46:04 +02: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
fd85362422
get_move should not return an empty dict
...
get_move must return a Move or None
2014-11-27 11:55:19 +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
d2fc9b986b
Use context to check model and field access
...
issue4081
review8481002
2014-09-17 21:45:57 +02:00
Nicolas Évrard
857d654751
Do not override methods that returns the moves' state.
...
issue3763
review4401002
2014-03-28 15:56:47 +01:00
Giedrius Slavinskas
5e87675cb3
Fix endless recursion
...
review944002
2013-06-25 15:19:00 +03:00
Cédric Krier
a8f95be22f
Fix search and read for moves from drop shipment
...
review778002
2013-04-12 00:43:36 +02:00
Cédric Krier
62cfe860e1
Use unique shipment and origin on Move
...
issue2642
review717002
2013-03-23 15:41:42 +01:00
Cédric Krier
cef1147d84
Fix user access rights
...
review702003
2013-03-12 10:28:22 +01:00
Cédric Krier
466d7b712d
Initial commit of sale_supply_drop_shipment module
...
review160001
2013-02-26 20:51:27 +01:00