Sale Show Addresses

sale_show_addresses
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/7.0/sale_show_addresses
VERSION
VERSION 0.1
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Vincent Vinet
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits sale.view_order_form
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