Sale Pricelist Triple Discount

sale_pricelist_triple_discount
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_pricelist_triple_discount
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSWeblate, Simone Rubino, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow16.0/sale_pricelist_triple_discount
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_invoice_triple_discount
OCA/sale-workflow:
    - sale_triple_discount
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 (1)
XML IDNameModelTypeStatus
product_pricelist_view_form_discount Add triple discounts to Pricelist Rule form view product.pricelist.item xpath Inherits product.product_pricelist_item_form_view
Models touched (2)

New fields (2)
  • discount2 Float
    digits='Discount' help='Second discount applied on a sale order line.' string='Discount 2 (%)'
  • discount3 Float
    digits='Discount' help='Third discount applied on a sale order line.' string='Discount 3 (%)'
Public methods (0)

No public methods.

New fields (2)
  • discount2 Float
    compute='_compute_discount' default=None precompute=True readonly=False store=True
  • discount3 Float
    compute='_compute_discount' default=None precompute=True readonly=False store=True
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/8.0/sale_pricelist_triple_discount
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, SimoRubi
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow/tree/8.0/sale_pricelist_triple_discount
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_invoice_triple_discount
OCA/sale-workflow:
    - sale_pricelist_discount
    - sale_triple_discount
odoo/odoo:
    - base
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - sale_stock
    - stock_account
    - stock
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_pricelist_view_form_discount product.pricelist.item.form.discount product.pricelist.item field Inherits sale_pricelist_discount.product_pricelist_view_form_discount
Models touched (2)

New fields (2)
  • discount2 Float
    default=0.0 digits_compute=dp.get_precision('Discount') help='Second discount applied on a sale order line.' args: 'Discount 2 (%)'
  • discount3 Float
    default=0.0 digits_compute=dp.get_precision('Discount') help='Third discount applied on a sale order line.' args: 'Discount 3 (%)'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • product_id_change(self, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False)
    @api.multi
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] sale_pricelist_triple_discount: Migration to 19.0 (#4088)