-
- Downloads
[FIX] purchase_stock: vendor code
- Create a product P with a MTO Reordering Rule (Buy Route)
- Add a supplier to P with a specific vendor code
- Create a SO for 1 unit of P, validate
A PO is created for the supplier but without using the vendor code.
It happens because the vendor code is overridden by the product
description.
To avoid losing information and redundancy, we add the line description
only if different from the product name.
opw-2383418
closes odoo/odoo#61922
Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
Showing
- addons/purchase_stock/models/purchase.py 25 additions, 4 deletionsaddons/purchase_stock/models/purchase.py
- addons/purchase_stock/tests/test_purchase_lead_time.py 15 additions, 3 deletionsaddons/purchase_stock/tests/test_purchase_lead_time.py
- addons/purchase_stock/tests/test_reordering_rule.py 1 addition, 1 deletionaddons/purchase_stock/tests/test_reordering_rule.py
Loading
Please register or sign in to comment