Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.1
Category
Sales
Folder size
0.04 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 07:47:29
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Weblate, Florian Mounier, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_coupon_order_discount_fast_change_ui
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 form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.