[FIX] company contacts should have the credit limit of the company they belong to; spotted by Alexis de Lattre.
This commit is contained in:
parent
76f6203888
commit
b85ac1eb23
|
@ -445,7 +445,7 @@ class res_partner(osv.Model, format_address):
|
|||
partners that aren't `commercial entities` themselves, and will be
|
||||
delegated to the parent `commercial entity`. The list is meant to be
|
||||
extended by inheriting classes. """
|
||||
return ['vat']
|
||||
return ['vat', 'credit_limit']
|
||||
|
||||
def _commercial_sync_from_company(self, cr, uid, partner, context=None):
|
||||
""" Handle sync of commercial fields when a new parent commercial entity is set,
|
||||
|
|
Loading…
Reference in New Issue