Files
erpnext/erpnext/buying
Mihir Kandoi 28f0ac5287 fix: order smallest purchase UOM qty that meets min order qty (backport #57883) (#58813)
* fix: round purchase quantities up to minimum order qty

Backport #57883 to version-16-hotfix. Adapt the purchase quantity conversion to the monolithic Production Plan controller and retain the Purchase Order rounding notice.

Add coverage for the complete Production Plan to Material Request to supplier-selected Purchase Order flow.

* fix(buying): skip rounding notice for mixed UOM increments

Require one shared rounding increment across the Purchase Order rows for each item before attributing the total excess to UOM rounding.

Cover mixed UOMs in both row orders, three mixed rows, and matching UOM rows that still require the notice.
2026-09-07 12:45:39 +00:00
..
2021-11-05 11:16:29 +05:30
2021-11-05 11:16:29 +05:30
2013-12-11 10:43:52 +05:30

Manage buying (purchasing).

Transactions include:

  • Material Request
  • Supplier Quotation
  • Purchase Order
  • Quality Inspection