Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3483 Visualizzazioni

I know that I can update a filed's translation if field is translate=True with following method.

d1 = 'Actual Content'

d2= 'Translated content'

self.model.write({translateable_field': d1})

self.model.with_context(lang=ar_001).write({'translatable_field': d2})


But my problem is, how can I update a filed having translate=html_translate. I used above method but it is not working. Urgent help will be greatly appreciated.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 19
14021
2
mar 23
5031
2
mar 22
2473
3
dic 19
5157
0
mar 15
4413