-
Security25/25No findings
-
Activity0/25Last human commit 50 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
sale_order— Class 'sale_order' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (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
Sale Fiscal Position Update
With this module, when a user changes the fiscal position of a sale order, the taxes on all the sale order lines which have a product are automatically updated. The sale order lines without a product are not updated and a warning is displayed to the user in this case.
Contributors :
-
Mathieu Vatel <mathieu _at_ julius.fr>
-
Alexis de Lattre alexis.delattre@akretion.com
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
fiscal.position.update.sale.order.form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (1)-
fiscal_position_change(self, cr, uid, ids, fiscal_position, order_line, context=None)Function executed by the on_change on the fiscal_position field of a sale order ; it updates taxes on all order lines
Loading…
Loading…