Sale Order Disount Fast Change UI

sale_order_discount_fast_change_ui
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_order_discount_fast_change_ui
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Florian Mounier
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
    - 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 (3)
XML IDNameModelTypeStatus
assets_sale_inherit Sale backend assets discount change override ir.ui.view qweb Inherits sale.assets_backend_inherit_sale
sale_order_discount_fast_change sale.order.discount.fast.change.form sale.order.discount.fast.change form New
sale_order_view_form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • application_policy Selection
    default='not_discounted' required=True string='Discount Application Policy' args: [('not_discounted', 'Apply only on not discounted lines'), ('all', 'Apply on all lines')]
  • discount Float
    default=0.0 digits='Discount' string='Discount (%)'
Public methods (1)
  • apply_global_discount(self)
    Apply the entered discount to the selected lines depending on the application policy.