[FIX] small pep8 cleanup and fix on _opposite_matchers yield

This commit is contained in:
Romain Deheele
2013-08-13 17:10:05 +02:00
parent 65af53fd3e
commit 54aeefb63f
2 changed files with 2 additions and 3 deletions

View File

@@ -40,5 +40,4 @@ class easy_reconcile_advanced_transaction_ref(orm.TransientModel):
def _opposite_matchers(self, cr, uid, rec, move_line, context=None):
yield ('partner_id', move_line['partner_id'])
yield ('ref', move_line['transaction_ref'] or ''.lower().strip())
yield ('ref', (move_line['transaction_ref'] or '').lower().strip())