TIP: You can type at any time to perform a new search.
Sale Show Addresses
sale_show_addresses · OCA/sale-workflow
Security findings
Migration considerations
- Imports from the old `openerp.tools.safe_eval` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
SaleOrder— Class 'SaleOrder' 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 · sourceSaleOrder— Class 'SaleOrder' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Sale
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 06:56:10
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux
- Committers
- Alexandre Fayolle, Vincent Vinet
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module displays the complete addresses on the sales order before saving, so you don't have to open the partner form or save the sales order to check if you pick the right partner or address. Contributors ------------ * Vincent Vinet (vincent.vinet@savoirfairelinux.com)
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
Sale Order Form +addresses | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (3)-
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)Overriden to: - Remove 'show_address' from partner field contexts - Add on_change on on partner_field contexts where applicable -
onchange_partner_address(self, cr, uid, ids, ui_field, partner_id, context=None)on_change partner, write the address in the corresponding ui field -
onchange_partner_id(self, cr, uid, ids, part, context=None)override onchange_partner_id, call super() and update ui field