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 IDNameModelTypeStatus
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