Commit Graph

6 Commits

Author SHA1 Message Date
Lois Rilo
1794390e57 [IMP] stock_warehouse_calendar: robustness
when delta argument is a float `plan_days` method can return
unexpected False result. This can lead to silent errors.
Therefore we ensure that delta is a integer in the helper.
2020-06-23 14:19:22 +02:00
Lois Rilo
4143b6a802 [13.0][MIG] stock_warehouse_calendar 2019-12-17 10:06:09 +01:00
Lois Rilo
ec24e4c3ef [IMP] stock_warehouse_calendar: black, isort 2019-12-17 09:32:43 +01:00
Lois Rilo
d7b91741d5 [12.0][REW] stock_warehouse_calendar: add plan days helper method
the method `wh_plan_days` can be used in any place where planning
or scheduling needs to be done in a given warehouse context,
considering the working days if set.
2019-12-17 09:31:55 +01:00
mreficent
63b70b36d3 [MIG] stock_warehouse_calendar: Migration to 12.0 2019-12-17 09:31:55 +01:00
Jordi Ballester Alomar
9e7b27149f 11.0 - add stock_warehouse_calendar 2019-12-17 09:31:55 +01:00