Fix onchange_partner_id for new behavior of property
bzr revid: ced-e2024c169f64c7801eaa28bf7f41fceb4ca99b5f
This commit is contained in:
parent
a32f279c8f
commit
ee0936a83d
|
@ -662,7 +662,7 @@ class sale_order_line(osv.osv):
|
|||
taxep = None
|
||||
if partner_id:
|
||||
taxep = self.pool.get('res.partner').browse(cr, uid, partner_id).property_account_tax
|
||||
if not taxep.id:
|
||||
if not taxep or not taxep.id:
|
||||
result['tax_id'] = res['taxes_id']
|
||||
else:
|
||||
res5 = [taxep.id]
|
||||
|
|
Loading…
Reference in New Issue