Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
5109 Представления

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
1278
1
мар. 15
4109
1
янв. 25
2360
0
апр. 22
3067
0
авг. 17
11380