diff --git a/addons/product/product.py b/addons/product/product.py
index 2369db49d43..79c74a6a9cc 100644
--- a/addons/product/product.py
+++ b/addons/product/product.py
@@ -458,6 +458,8 @@ class product_template(osv.osv):
def _set_standard_price(self, cr, uid, product_tmpl_id, value, context=None):
''' Store the standard price change in order to be able to retrieve the cost of a product template for a given date'''
+ if context is None:
+ context = {}
price_history_obj = self.pool['product.price.history']
user_company = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id
company_id = context.get('force_company', user_company)
@@ -533,9 +535,6 @@ class product_template(osv.osv):
"resized as a 64x64px image, with aspect ratio preserved. "\
"Use this field anywhere a small image is required."),
- 'packaging' : fields.one2many('product.packaging', 'product_id', 'Logistical Units',
- help="Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."),
-
'seller_ids': fields.one2many('product.supplierinfo', 'product_tmpl_id', 'Supplier'),
'seller_delay': fields.related('seller_ids','delay', type='integer', string='Supplier Lead Time',
help="This is the average delay in days between the purchase order confirmation and the reception of goods for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."),
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index 9b5770a565d..ddecdea996b 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -270,7 +270,7 @@
-
+