I'm trying to get history of my product i sales. Here is what I do:
- Go to
Sales / Products / Products
- Select a Product
- Click on
More / Sales Order Linesto get the history
But, i can't my product's unit price in list view. How to display it?
To shoow Unit price in list view you have to inherit the list view "view_order_line_tree" of sale.order.line and add price_unit field in this view.
> <record > id="view_sale_order_line_list_price_unit_inherit" > model="ir.ui.view"> > <field name="name">sale.order.line.form.inherit</field> > <field name="model">sale.order.line</field> > <field name="inherit_id" ref="sale.view_order_line_tree"/> > <field name="arch" type="xml"> > <field name="product_uom_qty" > position="after"> > <field name="price_unit"/> > </field> > </field> > </record>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/30/13, 1:53 AM|
|Seen: 1663 times|
|Last updated: 3/16/15, 8:10 AM|