documentation icon indicating copy to clipboard operation
documentation copied to clipboard

[IMP] inventory: multiple qty def fix

Open Felicious opened this issue 2 months ago • 1 comments

18.0: Adjust logic of Multiple field in reordering rules to prevent overstocking by ensuring replenishment quantities never exceed the defined maximum

Changelog

  • Odoo now selects the largest multiple that does not exceed the Max quantity.
    • Previously in v17, Odoo selected the multiple that exceeded the maximum.
  • The Multiple field remains a numeric value, representing a fixed quantity multiple.
  • In the v19, the system will go back to selecting the multiple that exceeds the max.

Example

If the Multiple = 3 and Max = 20, Odoo orders 18 units — the highest multiple of three that stays below or equal to the maximum.

Felicious avatar Oct 13 '25 17:10 Felicious

Pull request status dashboard

robodoo avatar Oct 13 '25 17:10 robodoo