[MRG] Merge with base branch

This commit is contained in:
Virgil Dupras
2013-07-08 13:14:29 -04:00

View File

@@ -114,5 +114,5 @@ class easy_reconcile_advanced_ref(orm.TransientModel):
:yield: matchers as tuple ('matcher key', value(s))
"""
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()))