Commit Graph
3 Commits
Author SHA1 Message Date
clesgow 99361d8172 [FIX] delivery_stock_picking_batch: batch by weight
When checking if the picking is auto-batchable, calling
`_is_auto_batchable()` with `picking` having it's default value `None`,
it would raise an error as it would try to access the `weight` property
from a NoneType.

Part of task-2985735

X-original-commit: 574ff569e5b9a043d29b7113f8bfe3a549a74d72
Part-of: odoo/odoo#102382
2022-10-06 18:00:49 +02:00
Martin Trigaux 158b537c28 [I18N] *: export saas-15.2 source terms
closes odoo/odoo#89225

X-original-commit: 5925a83d87fa4702f4c0f22346304dc2da47c728
Related: odoo/enterprise#26435
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-04-23 08:33:43 +02:00
clesgow 33427fd77f [ADD] delivery_stock_picking_batch: Add carrier & weight to autobatch
Improves the auto-batcher, allowing it to also group by :
 - Carrier
While adding a new restriction on the batch size as well :
 - Max weight per batch

Task-2670580

Part-of: odoo/odoo#81533
2022-02-02 11:46:52 +00:00