projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375dee2
)
[FIX] account: reconciliation on structured communication has to be done on ref field...
author
qdp-odoo
<qdp@openerp.com>
Mon, 16 Jun 2014 13:13:40 +0000
(15:13 +0200)
committer
qdp-odoo
<qdp@openerp.com>
Fri, 20 Jun 2014 07:58:14 +0000
(09:58 +0200)
addons/account/account_bank_statement.py
patch
|
blob
|
history
diff --git
a/addons/account/account_bank_statement.py
b/addons/account/account_bank_statement.py
index
004bcd3
..
38ca301
100644
(file)
--- a/
addons/account/account_bank_statement.py
+++ b/
addons/account/account_bank_statement.py
@@
-493,7
+493,7
@@
class account_bank_statement_line(osv.osv):
def search_structured_com(self, cr, uid, st_line, context=None):
if not st_line.ref:
return
- domain = [('name', '=', st_line.ref)]
+ domain = [('ref', '=', st_line.ref)]
if st_line.partner_id:
domain += [('partner_id', '=', st_line.partner_id.id)]
ids = self.pool.get('account.move.line').search(cr, uid, domain, limit=1, context=context)