mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MRG] prevent account_advanced_reconcile to crash if ref in the move is not set
This commit is contained in:
@@ -114,5 +114,5 @@ class easy_reconcile_advanced_ref(orm.TransientModel):
|
|||||||
:yield: matchers as tuple ('matcher key', value(s))
|
:yield: matchers as tuple ('matcher key', value(s))
|
||||||
"""
|
"""
|
||||||
yield ('partner_id', move_line['partner_id'])
|
yield ('partner_id', move_line['partner_id'])
|
||||||
yield ('ref', (move_line['ref'].lower().strip(),
|
yield ('ref', ((move_line['ref'] or '').lower().strip(),
|
||||||
move_line['name'].lower().strip()))
|
move_line['name'].lower().strip()))
|
||||||
|
|||||||
Reference in New Issue
Block a user