Also removed in data in point_of_sale, project_timesheet and sale_mrp.
},{
model: 'product.product',
fields: ['display_name', 'list_price','price','pos_categ_id', 'taxes_id', 'ean13', 'default_code',
- 'to_weight', 'uom_id', 'uos_id', 'uos_coeff', 'mes_type', 'description_sale', 'description',
+ 'to_weight', 'uom_id', 'uos_id', 'uos_coeff', 'description_sale', 'description',
'product_tmpl_id'],
domain: function(self){ return [['sale_ok','=',true],['available_in_pos','=',true]]; },
context: function(self){ return { pricelist: self.pricelist.id, display_default_code: false }; },
'uos_coeff': fields.float('Unit of Measure -> UOS Coeff', digits_compute= dp.get_precision('Product UoS'),
help='Coefficient to convert default Unit of Measure to Unit of Sale\n'
' uos = uom * coeff'),
- 'mes_type': fields.selection((('fixed', 'Fixed'), ('variable', 'Variable')), 'Measure Type'),
'company_id': fields.many2one('res.company', 'Company', select=1),
# image: all image fields are base64 encoded and PIL-supported
'image': fields.binary("Image",
'uom_id': _get_uom_id,
'uom_po_id': _get_uom_id,
'uos_coeff': 1.0,
- 'mes_type': 'fixed',
'categ_id' : _default_category,
'type' : 'consu',
'active': True,
-
!record {model: product.product, id: product_product_hrmanger0}:
categ_id: product.product_category_6
- mes_type: fixed
name: HR Manager
standard_price: 1.0
type: service
!record {model: product.template, id: product_template_slidermobile0}:
categ_id: product_category_allproductssellable0
list_price: 200.0
- mes_type: fixed
name: Slider Mobile
standard_price: 189.0
type: product
!record {model: product.product, id: product_product_slidermobile0}:
categ_id: product_category_allproductssellable0
list_price: 200.0
- mes_type: fixed
name: Slider Mobile
seller_delay: '1'
seller_ids: