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