David Blanco Bautista
06f84aa761
Add warehouses selection to supply stock wizard
...
issue10532
review353701002
2022-04-07 00:06:34 +02:00
Cédric Krier
e76d9cc2cc
Follow isort formatting
...
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier
450ac323e9
Limit size of grouping_filter ids
...
The list of ids in grouping_filter are used inside an IN-clause so we must
limit the size.
issue10589
review379471002
2021-10-30 02:27:19 +02:00
Cédric Krier
16bbfb0ad8
Reuse grouping_filter to update quantities
...
issue10588
2021-10-27 21:26:20 +02:00
Cédric Krier
3cc0bedb64
Do not filter by all product ids in products_by_location
...
issue10588
review371341002
2021-08-06 09:42:38 +02:00
Cédric Krier
b84bf9598e
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
259e792e65
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
becaf00695
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier
fa071d8596
Replace product_ids by grouping_filter
...
issue7141
review43151002
2018-02-28 18:27:08 +01:00
Nicolas Évrard
6c67a63a8c
Add support for overflowing quantities
...
issue6279
review27121002
2017-03-01 10:16:07 +01:00
Cédric Krier
d473dee62c
Update quantities for moves to create when computing internal shipments
...
Since changeset 2debb3c82659, there is a loop over the lead time. But as the
shipments are created after the loop, the computation of quantities inside the
loop does not include the created moves.
Instead we compute only the delta for each iteration and update the quantities
also with the created moves.
issue6152
review27901002
2017-01-19 22:54:46 +01:00
Cédric Krier
09f3a25f75
Move the loop and the transit clean outside the generate function
...
Since issue6147, a unique wizard manage the loop and so the transit cleaning
must be done at the end of all loops.
2017-01-15 02:42:38 +01:00
Cédric Krier
56aba762a6
Merge supply into one wizard
...
issue6147
review25941002
2017-01-15 01:33:07 +01:00
Cédric Krier
3173082f63
Improve lead time management of internal shipment
...
- Sum all lead times to get the biggest path possible and add the maximum extra
lead time (like supplier lead time).
- Create internal shipment in request state.
- Generate request recursively until no new shipments are created.
issue6123
review34551002
2017-01-15 00:19:15 +01:00
Cédric Krier
6f5dd2fb5a
Manage lead time when generating internal shipments
...
issue5587
review25331003
2016-06-21 10:38:04 +02:00
Jonathan Levy
48188c94e1
Add Python3 support
...
issue3211
review23951002
2016-03-08 11:59:32 +01:00
Nicolas Évrard
40e3df3d5b
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:55:56 +01:00
Cédric Krier
3fd8afa2e1
Add default internal provisioning per location
...
issue4913
review18491002
2015-09-14 10:23:29 +02:00
Cédric Krier
1e516b0d7c
Fix most flake8 errors
...
review8771002
2014-12-02 12:56:15 +01:00
Cédric Krier
02e808f22d
Fix append on tuple
...
Since changeset 03e3a12a3dbb, xxx2Many are always tuples.
2014-11-20 10:06:27 +01:00
Cédric Krier
41d599b492
Migration to python-sql
...
review1001002
2013-09-06 22:34:56 +02:00
Albert Cervera i Areny
b3903f2627
Add wizard and test for internal shipments.
...
review837003
2013-06-28 12:52:39 +02:00
Cédric Krier
dc4a4b78e5
Improve computation of today quantity for internal shipments
...
The created shipments must be set to "wait" to get a date on the move.
review837002
2013-05-23 19:10:52 +02:00
Cédric Krier
7e62b26eee
Fix creation of internal shipment from order point
...
review837003
2013-05-23 19:06:21 +02:00
Cédric Krier
a910c15376
Backed out changeset 6b666477652f until a correct fix
2013-04-29 21:33:40 +02:00
Albert Cervera i Areny
08a2d28926
Fix calculation of stock in internal supplies.
...
review837002
2013-04-29 09:28:24 +02:00
Cédric Krier
7a009b7ec4
Fix flake8
2013-02-28 22:59:23 +01:00
Cédric Krier
bd2b9b72a1
Active Record
2012-09-24 22:18:24 +02:00
Cédric Krier
274acb75ad
Fix pep8 and pyflakes
2012-04-03 20:07:50 +02:00
Cédric Krier
7cb6b421a8
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:44:10 +02:00
Cédric Krier
be495f954b
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:18:10 +02:00
Cédric Krier
ea7808a7e8
Change Pool into a Singleton
2011-07-03 13:19:17 +02:00
Phillip Heller
598a9d62a6
Update for new Transaction
2010-08-10 11:58:54 -04:00
Bertrand Chenal
c49c8b396a
Use module_name in migration queries
2009-09-17 11:41:54 +02:00
Bertrand Chenal
13fba14ff8
Migrate packing* objects and tables to shipment*
2009-09-16 14:53:01 +02:00