[IMP] Remove relation =

bzr revid: jco@openerp.com-20130508092815-bo03hpo10s7qislw
This commit is contained in:
Josse Colpaert
2013-05-08 11:28:15 +02:00
parent 0e33939193
commit 07f4789510
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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."),
+1
View File
@@ -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("""