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:
53ff844
)
[FIX] account: fixed broken constraint (due to the passage to the new API) to ensure...
author
qdp-odoo
<qdp@openerp.com>
Wed, 1 Oct 2014 14:05:53 +0000
(16:05 +0200)
committer
qdp-odoo
<qdp@openerp.com>
Wed, 1 Oct 2014 14:05:53 +0000
(16:05 +0200)
addons/account/account.py
patch
|
blob
|
history
diff --git
a/addons/account/account.py
b/addons/account/account.py
index
0ef5e1f
..
df9a52d
100644
(file)
--- a/
addons/account/account.py
+++ b/
addons/account/account.py
@@
-1646,7
+1646,7
@@
class account_move_reconcile(osv.osv):
return True
_constraints = [
- (_check_same_partner, 'You can only reconcile journal items with the same partner.', ['line_id']),
+ (_check_same_partner, 'You can only reconcile journal items with the same partner.', ['line_id', 'line_partial_ids']),
]
def reconcile_partial_check(self, cr, uid, ids, type='auto', context=None):