Odoo Help

0

How to show different alias names for a product based on shop?

By
Komala Kiran Kumar. Parepalli
on 6/25/13, 10:39 AM 1,252 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...

0

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 6/25/13, 10:39 AM
Seen: 1252 times
Last updated: 3/16/15, 8:10 AM