Sale Discount Invoicing

sale_order_discount_invoicing
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_order_discount_invoicing
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, SilvioC2C, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_template_form_view product.template.form.inherit product.template field Inherits account.product_template_form_view
res_config_settings_view_form_inherit res.config.settings.view.form.inherit res.config.settings xpath Inherits sale.res_config_settings_view_form
view_category_property_form product.category.property.form.inherit product.category field Inherits account.view_category_property_form
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • discount_split_by_sale_line_id Many2one → sale.order.line
    copy=False args: 'sale.order.line'
  • is_split_discount_line Boolean
  • is_split_line Boolean
Public methods (0)

No public methods.

New fields (1)
  • property_account_discount_categ_id Many2one → account.account
    company_dependent=True domain="['&', ('deprecated', '=', False), ('company_id', '=', current_company_id)]" help='This account will be used when validating a customer invoice.' string='Discount Account' args: 'account.account'
Public methods (0)

No public methods.

New fields (1)
  • property_account_discount_id Many2one → account.account
    company_dependent=True domain="['&', ('deprecated', '=', False), ('company_id', '=' current_company_id)]" help='Keep this field empty to use the default value from the product category.' string='Discount Account' args: 'account.account'
Public methods (0)

No public methods.

New fields (1)
  • account_split_discount_line Boolean
    default=False args: 'Split Discount Lines'
Public methods (0)

No public methods.

New fields (1)
  • account_split_discount_line Boolean
    help='If set, a discounted sale line will be split in 2 invoice lines when the invoice is generated' readonly=False related='company_id.account_split_discount_line' args: 'Split Discount Lines'
Public methods (0)

No public methods.

New fields (1)
  • origin_price_unit Float
    digits='Product Price'
Public methods (0)

No public methods.