Tags

,


here am just filtering product category = ‘Control4’

class sale_order(osv.osv):
_inherit=”sale.order”
_columns={
‘product’: fields.many2one(‘product.product’,’Product’,domain=[(‘categ_id.name’,’=’,’Control4′)])
}

Advertisements