Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5084 Переглядів

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

Аватар
Відмінити

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

Автор Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лют. 22
1261
1
бер. 15
4093
1
січ. 25
2320
0
квіт. 22
3032
0
серп. 17
11367