Fix typo for account.rec_name
(transplanted from ad252c972c1f7ccc738088e46672a36abda60f32)
This commit is contained in:
1 parent
e252941b0b
commit
24f5ea3dcc
1 file changed
+1
-1
@@ -886,7 +886,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