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

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

Avatar
Abbandona

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

Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
feb 22
1467
1
mar 15
4335
1
gen 25
2811
0
apr 22
3534
0
ago 17
11634