# -*- coding: utf-8 -*-
from osv import fields, osv
+import openerp.addons.decimal_precision as dp
class Theme(osv.osv):
Partner()
+
+class product_template(osv.osv):
+ _inherit = 'product.template'
+
+ _columns = {
+ 'standard_price': fields.float('Cost', digits_compute=dp.get_precision('Product Price'), 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,point_of_sale.group_pos_user"),
+ }
+
+product_template()
+
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: