I can't access to sales or invoice apps, there is an error. I can access to other apps without error.
Error: time.getLangDateFormatWoZero is not a function
parseDateTime@https:///web/content/12620-36de881/web.assets_backend.js:1064:116
_parseServerValue@https:///web/content/12620-36de881/web.assets_backend.js:1294:384
_parseServerData//web/content/12620-36de881/web.assets_backend.js:1539:544
_.forEach@https:///web/content/8697-069cfca/web.assets_common.js:110:412
_parseServerData@https:///web/content/12620-36de881/web.assets_backend.js:1539:157
_searchReadUngroupedList//web/content/12620-36de881/web.assets_backend.js:1584:346
_.collect@https:///web/content/8697-069cfca/web.assets_common.js:111:270
_searchReadUngroupedList//web/content/12620-36de881/web.assets_backend.js:1584:127
Maybe a time function but I can't find "time.getLangDateFormatWoZero". Where I can get more info on this error, no line in server log.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
The function time.getLangDateFormatWoZero can be found under the web addon.
See: https://github.com/odoo/odoo/blob/14.0/addons/web/static/src/js/core/time.js#L307
It is used by the ParseDate function, which is used by Date fields to validate user input.
See: https://github.com/odoo/odoo/blob/14.0/addons/web/static/src/js/fields/field_utils.js#L465
As to what this error means, it is a mystery to me as well.
[Edit]
Some background: the same error with a similar traceback started appearing in my instance after turning on a new language.
[Solution]
I was able to correct this issue by using the "Regenerate Asset Bundles" option from the developer menu. See: https://i.imgur.com/e0qZv5v.png
To activate developer mode and interact with the developer menu, see: https://www.odoo.com/documentation/14.0/applications/general.html#activate-the-developer-mode-debug-mode
I found out that upgrading website_partner module it works correctly.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jun 24
|
8361 | ||
|
0
sept 21
|
1545 | ||
|
1
jun 21
|
2315 | ||
|
1
abr 24
|
1634 | ||
|
0
mar 24
|
1581 |