Account Invoice - Triple Discount Supplier Info Update
This module is a glue module installed if the following modules are installed:
- account_invoice_triple_discount (same repository)
- account_invoice_supplierinfo_update_discount (same repository)
- purchase_triple_discount (purchase-workflow OCA repository)
It allows to update the three discounts on supplierinfo, if the invoice line has different discount values.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Extends the supplier invoice update wizard so that the second and third discounts on vendor price lists can be compared and updated from the invoice line, not just the first discount.
When a vendor bill line carries three successive discounts, this module makes sure the vendor price list (supplier info) can be aligned with what was actually invoiced on all three discounts, not only the first one.
- The supplier invoice update wizard now shows extra columns for the current and new second and third discount percentages, next to the existing first discount column.
- These extra columns only appear when at least one line actually has a value in the second or third discount, so the screen stays clean otherwise.
- The current discount values are read-only and come from the vendor price list; the new discount values are required and come from the invoice line.
- When the wizard is applied, the second and third discounts are written back onto the vendor price list record.
- The wizard also recalculates the current and new unit cost by applying the second and third discounts on top of the first one, so the cost shown reflects all three discounts.
- A line is no longer considered as matching the vendor price list if its second or third discount differs, which is what triggers the wizard to propose an update.
It touches account.move.line and the supplier info update wizard and its lines.
Depends on
Models and fields (3)
- account.move.line · extends an existing model
- wizard.update.invoice.supplierinfo · extends an existing modeldisplay_discount2, display_discount3
- wizard.update.invoice.supplierinfo.line · extends an existing modelnew_discount2 (New Disc. 2 (%)), new_discount3 (New Disc. 3 (%)), current_discount2 (Current Disc. 2 (%)), current_discount3 (Current Disc. 3 (%))
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.