This question has been flagged
1 Reply
3636 Views

Hi every one, Here is my senario where in my process of evolution i created a multi company database, where i customized the product to add alias name for different shops.

 Where comming to sale order depending upon the shop selected in the sale order the product name should appear while searching in the product many2one field. Its like, if orginal name of product is A and i configured the alias name in shop as B it should display as B but not A in orderline while searching for the product and i achieved this by customizing name_get() method of product.

But the problem here is the display name became temporary, means if once i save the form the alias name which is displaying in orderline is converting into original OpenERP name.

Can anyone help me to fix this. Thanks in advance...

Avatar
Discard
Best Answer

Komala,

You may override name_get() and based on the shop chosen on USER, you may display the different name.

As an alternate, you may choose to use the 'translation'.

Thanks.

Avatar
Discard