Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hi All,

I'm trying to extend  web.TranslationDialogWidget but it's neither throwing any error, nor it's extending the widget. Here is the code:

translation_dialog.xml













class="o_field_char o_input #{widget.currentInterfaceLanguage == term.lang ? 'o_language_current' : 'oh_language_other'"
t-att-value="term.value"
t-att-data-id=""\ rel="ugc">term\.id"/>

\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \






__manifest__.py

'assets': { 
'web.assets_common': [
'custom_module/static/src/legacy/xml/translation_dialog.xml'
'custom_module/static/src/legacy/js/widgets/**/*',
],
'web .assets_frontend': [
'custom_module/static/src/legacy/xml/translation_dialog.xml',
'custom_module/static/src/legacy/js/widgets/**/*',
]
}

Seeking help from fellow developers to know what Am I doing wrong here? Same code works find in v15
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 24
1423
2
lip 23
3015
4
cze 23
3669
report odoo16 Rozwiązane
1
lut 23
2645
1
maj 25
2110