Jagdish Panchal (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-381940-jap into 
lp:openobject-addons/6.0.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-381940-jap/+merge/91020

Hello,

account: fix the problem in filter with Journal field (Ref : Case 381940)

Thanks,
JAP
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-381940-jap/+merge/91020
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-381940-jap.
=== modified file 'account/account.py'
--- account/account.py	2012-01-31 11:03:20 +0000
+++ account/account.py	2012-02-01 06:09:24 +0000
@@ -724,7 +724,7 @@
         if name:
             ids = self.search(cr, user, [('code', 'ilike', name)]+ args, limit=limit, context=context)
         if not ids:
-            ids = self.search(cr, user, [('name', 'ilike', name)]+ args, limit=limit, context=context)#fix it ilike should be replace with operator
+            ids = self.search(cr, user, [('name', operator, name)]+ args, limit=limit, context=context)#fix it ilike should be replace with operator
 
         return self.name_get(cr, user, ids, context=context)
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to