'name':fields.char('Rule Name',size=64,help="Explicit rule name for this pricelist line."),
'price_version_id':fields.many2one('product.pricelist.version','Price List Version',required=True,select=True,ondelete='cascade'),
...
...
@@ -401,13 +407,13 @@ class product_pricelist_item(osv.osv):
'product_id':fields.many2one('product.product','Product',ondelete='cascade',help="Set a product if this rule only apply to one product. Keep empty for all products"),
'categ_id':fields.many2one('product.category','Product Category',ondelete='cascade',help="Set a category of product if this rule only apply to products of a category and his children. Keep empty for all products"),
'min_quantity':fields.integer('Min. Quantity',required=True,help="The rule only applies if the partner buys/sells more than this quantity."),
'min_quantity':fields.integer('Min. Quantity',required=True,help="The rule only applies if the partner buys/sells equal to or more than this quantity."),
'sequence':fields.integer('Sequence',required=True,help="Gives the order in which the pricelist items will be checked. The evaluation gives highest priority to lowest sequence and stops as soon as a matching item is found."),
'base':fields.selection(_price_field_get,'Based on',required=True,size=-1,help="The mode for computing the price for this rule."),
'base_pricelist_id':fields.many2one('product.pricelist','If Other Pricelist'),
digits_compute=dp.get_precision('Product Price'),help='Specify the fixed amount to add or substract(if negative) to the amount calculated with the discount.'),