Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
4000 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 24
1431
0
ก.ค. 20
4823
2
ก.ย. 18
7101
1
เม.ย. 18
3565
0
ก.ย. 23
144