Default sales discount per partner
partner_default_sale_discount · OCA/partner-contact
Health
61/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 34 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
2 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
SaleOrder— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceview_partner_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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
sale.order | form | Inherits sale.view_order_form | |
view_partner_form |
res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
default_sale_discountFloatcompany_dependent=Truestring='Default sales discount (%)'
No public methods.
New fields (1)
-
default_sale_discountFloatrelated='partner_id.commercial_partner_id.default_sale_discount'string='Default sales discount (%)'
-
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.modelInject the default in the context of the line this way for making it inheritable.
Loading…
Loading…
Loading…
Loading…