Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5 Antwoorden
3940 Weergaven

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

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer

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.

Beste antwoord
<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

Avatar
Annuleer
Auteur

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

Beste antwoord

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

Avatar
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 24
1364
0
jul. 20
4784
2
sep. 18
6990
1
apr. 18
3508
0
sep. 23
144