Sale Order Disount Fast Change UI
sale_order_discount_fast_change_ui · OCA/sale-workflow
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 38 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
1 model
3 views
0 HTTP endpoints
Migration considerations
sale_order_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_policySelectiondefault='not_discounted'required=Truestring='Discount Application Policy' args: [('not_discounted', 'Apply only on not discounted lines'), ('all', 'Apply on all lines')] -
discountFloatdefault=0.0digits='Discount'string='Discount (%)'
-
apply_global_discount(self)Apply the entered discount to the selected lines depending on the application policy.