Sale Discount Display Amount

sale_discount_display_amount
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_discount_display_amount
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Lukas Tran
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
res_config_settings_view_form_display_discount_with_tax res.config.settings.view.form.display.discount res.config.settings block 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 setting 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 data Inherits sale.view_order_form
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (4)

New fields (2)
  • display_discount_with_tax Boolean
    string='Show the Discount with TAX'
  • report_total_without_discount Boolean
Public methods (0)

No public methods.

New fields (2)
  • display_discount_with_tax Boolean
    help='Check this field to show the Discount with TAX' readonly=False related='company_id.display_discount_with_tax' string='Show the Discount with TAX'
  • report_total_without_discount Boolean
    help='Display "Total without discount" in report' readonly=False related='company_id.report_total_without_discount' string='Report Total Without Discount'
Public methods (0)

No public methods.

New fields (5)
  • discount_subtotal Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Discount Subtotal' store=True
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Discount total' store=True
  • display_discount_with_tax Boolean
    help='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_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Subtotal Without Discount' store=True
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Total Without Discount' store=True
Public methods (0)

No public methods.

New fields (4)
  • discount_subtotal Monetary
    compute='_compute_amount' precompute=True store=True
  • discount_total Monetary
    compute='_compute_amount' precompute=True store=True
  • price_subtotal_no_discount Monetary
    compute='_compute_amount' precompute=True store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_amount' precompute=True store=True string='Total Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_discount_display_amount
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Antonio Buric, Henry Backman, atg, FSchiepers, Lukas Tran
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
res_config_settings_view_form_display_discount_with_tax res.config.settings.view.form.display.discount res.config.settings block 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 setting 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 data Inherits sale.view_order_form
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (4)

New fields (2)
  • display_discount_with_tax Boolean
    string='Show the Discount with TAX'
  • report_total_without_discount Boolean
Public methods (0)

No public methods.

New fields (2)
  • display_discount_with_tax Boolean
    help='Check this field to show the Discount with TAX' readonly=False related='company_id.display_discount_with_tax' string='Show the Discount with TAX'
  • report_total_without_discount Boolean
    help='Display "Total without discount" in report' readonly=False related='company_id.report_total_without_discount' string='Report Total Without Discount'
Public methods (0)

No public methods.

New fields (5)
  • discount_subtotal Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Discount Subtotal' store=True
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Discount total' store=True
  • display_discount_with_tax Boolean
    help='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_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Subtotal Without Discount' store=True
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' name='Total Without Discount' store=True
Public methods (0)

No public methods.

New fields (4)
  • discount_subtotal Monetary
    compute='_compute_amount' precompute=True store=True
  • discount_total Monetary
    compute='_compute_amount' precompute=True store=True
  • price_subtotal_no_discount Monetary
    compute='_compute_amount' precompute=True store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_amount' precompute=True store=True string='Total Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_discount_display_amount
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sygel, Jonathan Oscategui Taza
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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 data Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_amount' precompute=True store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_amount' precompute=True store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_discount_display_amount
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSmanu, Weblate, OCA-git-bot, oca-ci, angel
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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 data Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_amount' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_amount' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_discount_display_amount
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, manu, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi, Chafique, oca-ci, Florian Mounier, Alessio Renda
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.sale res.config.settings xpath 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 data Inherits sale.view_order_form
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (4)

New fields (1)
  • report_total_without_discount Boolean
    args: 'Report Total Without Discount'
Public methods (0)

No public methods.

New fields (1)
  • report_total_without_discount Boolean
    readonly=False related='company_id.report_total_without_discount'
Public methods (0)

No public methods.

New fields (3)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Discount Subtotal'
  • price_subtotal_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Total Without Discount'
Public methods (0)

No public methods.

New fields (3)
  • discount_total Monetary
    compute='_compute_amount' store=True string='Discount Subtotal'
  • price_subtotal_no_discount Monetary
    compute='_compute_amount' store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_amount' store=True string='Total Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_discount_display_amount
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, Laurent Mignon (ACSONE), OCA Transbot, oca-travis, OCA-git-bot, Simone Orsi, François Honoré, laurent.corron, Laurent-Corron
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_view_form_display_discount sale.order data Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_amount' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_amount' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_discount_display_amount
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSSylvain LE GAL, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Abraham Anes, sergiocorato, oca-ci, Giovanni
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_saleorder_document_inherit report_saleorder_document_inherit ir.ui.view qweb Inherits sale.report_saleorder_document
sale_order_view_form_inherit_abi_product sale.order.form (abi_sale) sale.order data Inherits sale.view_order_form
Models touched (2)

New fields (3)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Discount Subtotal'
  • price_subtotal_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Total Without Discount'
Public methods (0)

No public methods.

New fields (3)
  • discount_total Monetary
    compute='_compute_amount' store=True string='Discount Subtotal'
  • price_subtotal_no_discount Monetary
    compute='_compute_amount' store=True string='Subtotal Without Discount'
  • price_total_no_discount Monetary
    compute='_compute_amount' store=True string='Total Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_discount_display_amount
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSCédric Pigeon, Denis Roussel, OCA Transbot, oca-travis, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_view_form_inherit_abi_product sale.order.form (abi_sale) sale.order data Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • discount_total Monetary
    compute='_compute_discount' readonly=True store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_discount' readonly=True store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_amount' readonly=True store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_amount' readonly=True store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_discount_display_amount
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_view_form_inherit_abi_product sale.order.form (abi_sale) sale.order data Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • discount_total Monetary
    compute='_compute_discount' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_discount' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_amount' store=True string='Discount Subtotal'
  • price_total_no_discount Monetary
    compute='_compute_amount' store=True string='Subtotal Without Discount'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] sale_discount_display_amount: Migration to 19.0 (#4284)