add purchase_order_supplierinfo_update_triple_discount

This commit is contained in:
Luis 2026-04-02 13:02:18 +02:00
parent f586c99df9
commit 91971ae56b
9 changed files with 275 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Purchase Order Supplierinfo Update Triple Discount
This module extends `purchase_order_supplierinfo_update` to optionally update triple discount fields in supplierinfo when confirming purchase orders.
## Features
- Adds three Purchase settings to enable/disable synchronization for each field independently.
- Keeps original behavior for supplier price update.
- Updates `discount1`, `discount2` and `discount3` from purchase order lines to supplierinfo only for the enabled fields.