Windows GTK Client OpenERP 6.0.4 show the result bad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello,
I use this class to search only the products of the supplier selected in the purchase order. In the Linux and Max OSX gtk clients work but in the windows gtk client show other result.
I have checked the server and return the same result.
class product_
_name = 'product.product'
_inherit = 'product.product'
def name_search(self, cr, user, name='', args=None, operator='ilike', context=None, limit=80):
ids=[]
if not args:
args=[]
if not context:
if context and context.
res = cr.fetchall()
ids = map(lambda x:x[0], res)
if not len(ids):
res = cr.fetchall()
ids = map(lambda x:x[0], res)
if not len(ids):
if operator in ('like', 'ilike'):
res = cr.fetchall()
ids = map(lambda x:x[0], res)
res = cr.fetchall()
ids += map(lambda x:x[0], res)
if not len(ids):
ids = self.search(cr, user, [('default_
if not len(ids):
ids = self.search(cr, user, [('ean13'
if not len(ids):
ids = self.search(cr, user, [('default_
ids += self.search(cr, user, [('name'
result = self.name_get(cr, user, ids, context)
return result
product_product()
Greetings
Hello Ignacio,
We have plan to release the v7 soon which is totally web based, and we are not developed our gtk client any more. So this issue doesn't affect to our trunk version.
As well as our 6.1 version is already released with new web architecture, So you can try also it.
For this type of issue of stable version, If you have a support and maintenance contract with us then you can contact us our OPW team at <email address hidden>.
Thank you!