TIP: You can type at any time to perform a new search.
Sale Discount Display Amount
sale_discount_display_amount · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, Lukas Tran
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
In standard Odoo only display the rate of the discount applied, never the amount. It could be great to be able to tell the customer how much he spares. This is the goal of this addons, it will show on a sale order the total without the discount and the value of the discount. You can choose if you want the discount on the Total with or the Total without TAX.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_display_discount_with_tax |
res.config.settings.view.form.display.discount | res.config.settings | form | Inherits base.res_config_settings_view_form |
res_config_settings_view_form_report_total_without_discount |
res.config.settings.view.form.report.total.without.discount | res.config.settings | form | Inherits sale.res_config_settings_view_form |
sale_discount_display_amount_document |
sale_discount_display_amount_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
sale_order_view_form_display_discount |
sale.order | form | Inherits sale.view_order_form | |
view_order_form |
sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
display_discount_with_taxBooleanstring='Show the Discount with TAX' -
report_total_without_discountBoolean
No public methods.
New fields (2)
-
display_discount_with_taxBooleanhelp='Check this field to show the Discount with TAX'readonly=Falserelated='company_id.display_discount_with_tax'string='Show the Discount with TAX' -
report_total_without_discountBooleanhelp='Display "Total without discount" in report'readonly=Falserelated='company_id.report_total_without_discount'string='Report Total Without Discount'
No public methods.
New fields (5)
-
discount_subtotalMonetarycompute='_compute_discount_total'currency_field='currency_id'name='Discount Subtotal'store=True -
discount_totalMonetarycompute='_compute_discount_total'currency_field='currency_id'name='Discount total'store=True -
display_discount_with_taxBooleanhelp='Check this field to show the Discount with TAX'name='Show the Discount with TAX'related='company_id.display_discount_with_tax' -
price_subtotal_no_discountMonetarycompute='_compute_discount_total'currency_field='currency_id'name='Subtotal Without Discount'store=True -
price_total_no_discountMonetarycompute='_compute_discount_total'currency_field='currency_id'name='Total Without Discount'store=True
No public methods.
New fields (4)
-
discount_subtotalMonetarycompute='_compute_amount'precompute=Truestore=True -
discount_totalMonetarycompute='_compute_amount'precompute=Truestore=True -
price_subtotal_no_discountMonetarycompute='_compute_amount'precompute=Truestore=Truestring='Subtotal Without Discount' -
price_total_no_discountMonetarycompute='_compute_amount'precompute=Truestore=Truestring='Total Without Discount'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 125 days ago
- Last activity
- 59 days ago
- Repository
- OCA/sale-workflow
- Pull request
- [19.0][MIG] sale_discount_display_amount: Migration to 19.0 (#4284)