def _get_product_state(self,cr,uid,ids,fields,arg=None,context=None): res={} dic=dict( self.pool.get('product.product')._columns['state'].selection ) for sol in self.browse(cr,uid,ids,): if sol.product_id.state in dic: res[sol.id]=dic[sol.product_id.…