Sale Change Price
sale_change_price · OCA/sale-workflow
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 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.26 MB
Module directory on disk
Code analysis
4 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
SaleChangePrice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourcesale_order_view_form_inherit_sale— 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- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · 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 |
|---|---|---|---|---|
sale_change_price_view |
sale.change.price.view | sale.change.price | form | New |
sale_order_view_form_inherit_sale |
sale.order.form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
item_idsOne2many → sale.change.price.itemcomodel_name='sale.change.price.item'inverse_name='change_price_id'string='Items'
-
change_price(self)@api.multiChange price and discount on sale order line -
default_get(self, field_list)@api.model
New fields (5)
-
change_price_idMany2one → sale.change.pricecomodel_name='sale.change.price' -
discountFloatdigits_compute=dp.get_precision('Discount') args: 'Discount (%)' -
nameTextreadonly=True args: 'Description' -
price_unitFloatdigits_compute=dp.get_precision('Product Price')required=True args: 'Unit Price' -
sale_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'required=Truestring='Line'
-
change_price(self)@api.one