mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_easy_reconcile : fix domain evaluation
(lp:account-extra-addons rev 29)
This commit is contained in:
@@ -98,7 +98,7 @@ class easy_reconcile_base(AbstractModel):
|
||||
params = []
|
||||
if rec.filter:
|
||||
dummy, where, params = ml_obj._where_calc(
|
||||
cr, uid, rec.filter, context=context).get_sql()
|
||||
cr, uid, eval(rec.filter), context=context).get_sql()
|
||||
if where:
|
||||
where = " AND %s" % where
|
||||
return where, params
|
||||
|
||||
Reference in New Issue
Block a user