Files
stock-logistics-warehouse/stock_reserve_rule
Kiril Vangelovski f53db888b3 [FIX] stock_reserve_rule: allow removal strategy based on lots and/or owner
The lot is ignored in _apply_strategy which makes it not possible to
create removal rules based on it. A practical example is to create a
rule with a quant_domain on lot_id.use_date (Best Before Date). Even
though the quants will be filtered, the lots wont be taken into
consideration in _apply_strategy and so random lots will be reserved.
With tis the signature for the _apply_strategy_%s methods is changed
to require returning the lot also or set it to None if it is not used.

The same rationale applies for the owner of the quant.
2023-07-12 17:57:51 +02:00
..
2023-07-12 12:09:25 +00:00
2022-01-18 17:16:32 +00:00
2021-08-11 11:55:48 +02:00
2022-11-17 15:51:14 +00:00
2022-01-18 17:16:32 +00:00