mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] dead if statement
This commit is contained in:
@@ -349,7 +349,6 @@ class AccountStatementCompletionRule(orm.Model):
|
|||||||
'than one partner while looking on partner by name') %
|
'than one partner while looking on partner by name') %
|
||||||
(st_line['name'], st_line['ref']))
|
(st_line['name'], st_line['ref']))
|
||||||
res['partner_id'] = result[0][0]
|
res['partner_id'] = result[0][0]
|
||||||
if res:
|
|
||||||
st_vals = st_obj.get_values_for_line(cr,
|
st_vals = st_obj.get_values_for_line(cr,
|
||||||
uid,
|
uid,
|
||||||
profile_id=st_line['porfile_id'],
|
profile_id=st_line['porfile_id'],
|
||||||
|
|||||||
Reference in New Issue
Block a user