I'm a complete beginner with OpenErp7. I would like to show the cost of products (product.standard_price?) in a Bill of Materials and the formula Product cost * item number
I've already tried
'price': fields.related('product_id','product_tmpl_id.standard_price',type='float', size=64, relation="product.product", string="Price", store=True),
'standardprice': fields.related('product_id','standard_price',type='float', size=64, relation="product.product", string="Standard Price", store=True),
but it's not working... I'd be grateful for any hint
Thanks in advance Davide