oca-purchase/odoo-bringout-oca-purchase-workflow-purchase_request/purchase_request/wizard
Ernad Husremovic 49c7ab8277 Fix allocation quantity calculation when merging PO lines
When multiple PR lines for the same product were merged into a single
PO line, the allocation quantity was incorrectly calculated using
min(existing_po_qty, pr_line_qty) instead of using the actual PR line
quantity. This caused incorrect total quantities in the generated RFQ.

Example: PR with sir01 qty=10 and sir01 qty=7 should produce PO line
with qty=17, but was producing qty=14.

🤖 assisted by claude
2026-01-06 19:37:33 +01:00
..
__init__.py Add oca-purchase submodule with 96 purchase modules moved from oca-workflow-process 2025-08-30 18:00:40 +02:00
purchase_request_line_make_purchase_order.py Fix allocation quantity calculation when merging PO lines 2026-01-06 19:37:33 +01:00
purchase_request_line_make_purchase_order_view.xml Add oca-purchase submodule with 96 purchase modules moved from oca-workflow-process 2025-08-30 18:00:40 +02:00