Account Invoice - Discount Supplier Info Update
This module is a glue module installed if the following modules are installed:
- account_invoice_supplierinfo_update (same repository)
- purchase_discount (purchase-workflow repository)
It allows to update the discount on supplierinfo, if the invoice line has a different discount value.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0When a supplier invoice line has a discount that differs from the discount stored on the supplier's product information, this module lets you update the supplier discount directly from the invoice's supplier-info update wizard.
This module adds discount handling to the existing supplier-info update wizard that appears on supplier invoices. It is installed automatically when both the supplier-info update module and the purchase discount module are present.
In the wizard, two new columns are shown for each line: the current discount stored on the supplier's product information and the new discount taken from the invoice line. A discount column is only displayed when at least one line actually has a discount value, so the screen stays clean otherwise.
The wizard now also considers the discount when deciding whether an invoice line matches the supplier's product information. If the discount on the line differs from the supplier discount, the line is flagged as a difference to review.
When you confirm the wizard, the new discount is written back onto the supplier's product information, alongside the other updated values. The displayed current and new costs are recalculated to reflect the discount, so the cost shown is the net cost after discount.
It touches account.move.line and the supplier-info update wizard models, and adds fields to the wizard form view. No new menus are created; the changes appear inside the existing supplier invoice update wizard.
Required by other modules
Models and fields (3)
- account.move.line · extends an existing model
- wizard.update.invoice.supplierinfo · extends an existing modeldisplay_discount
- wizard.update.invoice.supplierinfo.line · extends an existing modelnew_discount, current_discount
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: 4 confirmed, 5 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.