What is the lst_price field on product used for ?

Asked by Xavier Fernandez http://www.smile.fr

In addon 5.0 product, in product.py:

this field is defined on product.product:
'lst_price' : fields.function(_product_lst_price, method=True, type='float', string='List Price', digits=(16, int(config['price_accuracy']))),

A grep on the addons shows that is only used in views:
- module product: product_product_tree_view (product list)
- module membership membership_products_tree

So this price is by default viewable in the product list under the label 'List Price' but is actually used nowhere which is kind of confusing...

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

hello,

'list_price': fields.float('Sale Price', digits=(16, int(config['price_accuracy'])), help="Base price for computing the customer price. Sometimes called the catalog price."),

which is exist in class product_template.

It is used to set default sale price which set by default when you creates sale order.In sale order line when you select product the related list price (Sale Price) automatically set.so it uses for default valuation only.

Can you help with this problem?

Provide an answer of your own, or ask Xavier Fernandez http://www.smile.fr for more information if necessary.

To post a message you must log in.