Fix typo for account.rec_name
(transplanted from ad252c972c1f7ccc738088e46672a36abda60f32)
This commit is contained in:
@@ -878,7 +878,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