diff --git a/addons/product/product.py b/addons/product/product.py index f14038d9520..d0694af82a4 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -302,7 +302,7 @@ class product_template(osv.osv): 'list_price': fields.float('Sale Price', digits_compute=dp.get_precision('Product Price'), help="Base price to compute the customer price. Sometimes called the catalog price."), #TODO: why is there a first empty arg? relation='' could be written server side, no? #TODO: put back decimal precision - 'standard_price': fields.property(relation='', type = 'float', view_load=True, + 'standard_price': fields.property('', type = 'float', view_load=True, help="Cost price of the product used for standard stock valuation in accounting and used as a base price on purchase orders.", groups="base.group_user", string="Cost"), 'volume': fields.float('Volume', help="The volume in m3."), diff --git a/addons/stock/report/report_stock_move.py b/addons/stock/report/report_stock_move.py index 1e783e8b970..2b93bb416ba 100644 --- a/addons/stock/report/report_stock_move.py +++ b/addons/stock/report/report_stock_move.py @@ -56,6 +56,7 @@ class report_stock_move(osv.osv): } + def init(self, cr): tools.drop_view_if_exists(cr, 'report_stock_move') cr.execute("""