콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4294 화면

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...

아바타
취소
베스트 답변

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.

아바타
취소