CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
The Question has been closedby
hello community i'm really stacked for a while and i can figure out a way to add the product price in the autocomplete list in sale.order.form view , i'll be really greetfull if someone can help me .
and here is a screenshot farm9.staticflickr.com/8269/8703512253_59431df303_b.jpg
Override the name_get method of product and add the price along with name and code
i.e you will find a method name_get in product module's product.py
Just create a module inherit the class product_product and override
def name_get(self, cr, user, ids, context=None). In this method call the super(parent class name_get method) and alter the result of that with your new changes i.e browse the product id's and append the price to the name.
About This Community
Odoo Training Center
|Asked: 5/3/13, 8:46 AM|
|Seen: 2265 times|
|Last updated: 3/16/15, 8:10 AM|