_columns = {
'property_product_pricelist_purchase': fields.property(
'product.pricelist',
- type='many2one',
- relation='product.pricelist',
- domain=[('type', '=', 'purchase')],
- string="Purchase Pricelist",
- method=True,
+ type='many2one',
+ relation='product.pricelist',
+ domain=[('type','=','purchase')],
+ string="Purchase Pricelist",
view_load=True,
help="This pricelist will be used, instead of the default one, for purchases from the current partner"),
}