Fix typo for account.rec_name
This commit is contained in:
1 parent
6d0aecf891
commit
dd75f84893
1 file changed
+1
-1
@@ -904,7 +904,7 @@ class Line(ModelSQL, ModelView):
|
||||
else:
|
||||
if 'account' not in res:
|
||||
res['account'] = party.account_payable.id
|
||||
res['account.rec_name'] = party.account_payable.id
|
||||
res['account.rec_name'] = party.account_payable.rec_name
|
||||
|
||||
if party and vals.get('credit'):
|
||||
if vals['credit'] > Decimal('0.0'):
|
||||
|
||||
Reference in new issue
Block a user