Hi erveryone
I have code :
def _calc_seller(self, cr, uid, ids, fields, arg, context=None):
codeordersales=self.read(cr, uid, ids, ['saleordercode'])[0]['saleordercode']
result = {}
for product in self.browse(cr, uid, ids, context=context):
_id='+product.id+'
oj=self.pool.get('cvs.quotations.cutproduct')
oj_search=oj.search(cr,uid,[('saleordercode','=',str(codeordersales)),('id_quotations','=',product.id)])
oj_data=oj.read(cr,uid,oj_search,[],context)
src = []
for item in oj_data:
src.append(item['id'])
result[product.id] = src
return result
when i run the error" operator does not exist: text = integer"
Can you help me ?