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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
cze 24
|
8364 | ||
|
0
wrz 21
|
1548 | ||
|
1
cze 21
|
2317 | ||
|
1
kwi 24
|
1643 | ||
|
0
mar 24
|
1591 |