コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
4247 ビュー

Hello All,

i have a problem related to one2many field. I'm working on sale order form and my customer language is chinese. And i want that when i'm add a product from sale order line than sale order line model should show in chinese language('partner_id.lang). For this i added context('lang') of partner language. but still not getting expected result. Means sale order form should show in english language and sale order line will be shows in chinese language(customer language). So, how to solve this problem?

Thanks in advance

アバター
破棄
最善の回答

Hey, I'm facing a similar problem. Did you find a solution to this?

アバター
破棄

I suggest you submit a new question as it will be seen by more people. You can include a link to this question for reference.

最善の回答
<xpath expr="//field[@name='order_line']" position="attributes">
            <attribute name="context">
                    "{'lang': 'code for chinese', 'default_lang': 'code for chinese' }"
            </attribute>
 </xpath>


give it a try

アバター
破棄
著作者

I'll try this. But it's not work for me.

最善の回答

User have Language change option on Preferences tab, while you create sale order  change your Language as Chinese

アバター
破棄
著作者

You don't understand by problem. I want that remaining system work according to user language except sales order line form available according to customer language.

関連投稿 返信 ビュー 活動
1
7月 25
1833
0
7月 20
5010
2
9月 18
7311
1
4月 18
3699
3
7月 25
21976