diff options
| author | Jigar Amin - OpenERP <jam@tinyerp.com> | 2012-03-05 19:00:48 +0530 |
|---|---|---|
| committer | Jigar Amin - OpenERP <jam@tinyerp.com> | 2012-03-05 19:00:48 +0530 |
| commit | c1c73c3fdaae18b579c54a5829ca4e7e558cedbd (patch) | |
| tree | 97c276bebc80a2341b27c3f472e96b5a6b1a8964 /addons | |
| parent | f94d18e0fad6f78112133e0bfed8bb0fcc2e51b5 (diff) | |
[FIX] edir partner_id id reference to self .id
bzr revid: jam@tinyerp.com-20120305133048-gm2tc527t1gzagu3
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/edi/models/res_partner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/edi/models/res_partner.py b/addons/edi/models/res_partner.py index d5c08b82fe7..955587be76f 100644 --- a/addons/edi/models/res_partner.py +++ b/addons/edi/models/res_partner.py @@ -92,7 +92,7 @@ class res_partner(osv.osv, EDIMixin): if edi_bank_ids: contacts = self.browse(cr, uid, contact_id, context=context) import_ctx = dict((context or {}), - default_partner_id=contacts.partner_id.id, + default_partner_id=contacts.id, default_state=self._get_bank_type(cr, uid, context)) for ext_bank_id, bank_name in edi_bank_ids: try: |
