~extra-addons-commiter/e-commerce-addons/oerp6.1-stable

« back to all changes in this revision

Viewing changes to sale_exceptions/sale.py

  • Committer: Maxime Chambreuil
  • Author(s): Sébastien Beau
  • Date: 2013-11-09 16:30:45 UTC
  • mfrom: (281.3.8 oerp6.1-stable-refactor-onchange)
  • Revision ID: maxime.chambreuil@savoirfairelinux.com-20131109163045-c1gcbaa998z1enwm
[MRG] Onchange are not correctly played and should be played at the end.
Instead onchange are actualy excecuted before importing the address (address are submapping).
So if you want to play correctly the onchange for the fiscal position with (fiscal_position_rule_*) it failed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        return True
107
107
 
108
108
    def _popup_exceptions(self, cr, uid, order_id, context=None):
 
109
        if context is None:
 
110
            context = {}
109
111
        model_data_obj = self.pool.get('ir.model.data')
110
112
        list_obj = self.pool.get('sale.exception.confirm')
111
113
        ctx = context.copy()