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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 24
|
7393 | ||
|
0
Sep 21
|
809 | ||
|
1
Jun 21
|
1623 | ||
|
1
Apr 24
|
320 | ||
|
0
Mar 24
|
341 |