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

Hi,

I use language arabic in odoo 12, when I open contacts module, I get this error:

--------------------------------------------------------------------------------------------------------------------------

خطأ:
Uncaught TypeError: Cannot read property 'trim' of undefined

http://localhost:8069/web/content/945-8d05632/web.assets_common.js:3760
تتبع الأثر:
TypeError: Cannot read property 'trim' of undefined
at Object.human_size (http://localhost:8069/web/content/945-8d05632/web.assets_common.js:3760:37)
at Object.binaryToBinsize (http://localhost:8069/web/content/945-8d05632/web.assets_common.js:3755:284)
at formatBinary (http://localhost:8069/web/content/971-f492ee7/web.assets_backend.js:1125:14)
at http://localhost:8069/web/content/971-f492ee7/web.assets_backend.js:1814:61
at Function._.each._.forEach (http://localhost:8069/web/content/945-8d05632/web.assets_common.js:12:558)
at Class._transformRecord (http://localhost:8069/web/content/971-f492ee7/web.assets_backend.js:1813:188)
at Class._setState (http://localhost:8069/web/content/971-f492ee7/web.assets_backend.js:1812:226)
at Class.init (http://localhost:8069/web/content/971-f492ee7/web.assets_backend.js:1800:1090)
at Class.prototype.<computed> [as init] (http://localhost:8069/web/content/945-8d05632/web.assets_common.js:3538:488)
at new Class (http://localhost:8069/web/content/945-8d05632/web.assets_common.js:3539:65)

But when use English language, this module run and no problems.

How to solve this problem ?


Thanks

Awatar
Odrzuć

I'm using Odoo12 with Arabic language and it's working in contacts. Try to get the latest version of Odoo12 and see if you will get this error.

Check the below thread

https://www.odoo.com/es_ES/forum/ayuda-1/question/about-contact-form-on-odcoo12-140597

Autor Najlepsza odpowiedź

Thank you Waleed,


I updated the source code in Odoo 12 community and the problem is solved.

This link for updated files:

https://github.com/odoo/odoo/commit/59601b5d15377453b615a9c9d7bb1938e2528f32

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 22
1266
1
mar 15
4104
1
sty 25
2339
0
kwi 22
3040
0
sie 17
11374