This question has been flagged
1 Reply
2988 Views

Hello,

I'm getting this error on some products, without solution after:

updating odoo

erasing cache

uninstalling modules


I cannot debug it. Help!


 
Error: NameError: name 'context_today' is not defined

http://localhost:8069/web/static/lib/py.js/lib/py.js:370
Traceback:
PY_ensurepy@http://localhost:8069/web/static/lib/py.js/lib/py.js:370:19
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1340:20
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1379:32
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1444:17
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1425:34
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1379:32
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1359:28
py.evaluate@http://localhost:8069/web/static/lib/py.js/lib/py.js:1409:34
_setDecorationClasses/<@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:684:52
_.forEach@http://localhost:8069/web/static/lib/underscore/underscore.js:150:9
_setDecorationClasses@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:682:9
_renderRow@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:586:9
_renderRow@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:499:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_.collect@http://localhost:8069/web/static/lib/underscore/underscore.js:164:24
_renderRows@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:597:16
_renderRows@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:516:21
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_renderBody@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:227:21
_renderBody@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:477:21
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_renderBody@http://localhost:8069/web_tree_dynamic_colored_field/static/src/js/web_tree_dynamic_colored_field.js:32:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_renderView@http://localhost:8069/web/static/src/js/views/list/list_renderer.js:658:25
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
_renderView@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:536:16
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_render@http://localhost:8069/web/static/src/js/views/basic/basic_renderer.js:498:16
_render@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:466:16
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:133:35
start@http://localhost:8069/web/static/src/js/views/abstract_renderer.js:37:23
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
start@http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:66:16
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:133:35
__widgetRenderAndInsert/<@http://localhost:8069/web/static/src/js/core/widget.js:206:20
then/</</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:8069/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:8069/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:8069/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:8069/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:8069/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:8069/web/static/lib/jquery/jquery.js:3271:48
__widgetRenderAndInsert@http://localhost:8069/web/static/src/js/core/widget.js:203:16
appendTo@http://localhost:8069/web/static/src/js/core/widget.js:142:16
_render@http://localhost:8069/web/static/src/js/fields/relational_fields.js:860:32
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
start/<@http://localhost:8069/web/static/src/js/fields/abstract_field.js:187:20
then/</</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:8069/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:8069/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:8069/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:8069/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:8069/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:8069/web/static/lib/jquery/jquery.js:3271:48
start@http://localhost:8069/web/static/src/js/fields/abstract_field.js:184:16
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
then/</</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:8069/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:8069/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:8069/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:8069/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:8069/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:8069/web/static/lib/jquery/jquery.js:3271:48
start@http://localhost:8069/web/static/src/js/fields/relational_fields.js:725:16
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
__widgetRenderAndInsert/<@http://localhost:8069/web/static/src/js/core/widget.js:206:20
then/</</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:8069/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:8069/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:8069/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:8069/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:8069/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:8069/web/static/lib/jquery/jquery.js:3271:48
__widgetRenderAndInsert@http://localhost:8069/web/static/src/js/core/widget.js:203:16
_renderFieldWidget@http://localhost:8069/web/static/src/js/views/basic/basic_renderer.js:546:19
_renderInnerGroupField@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:446:22
_renderInnerGroup/<@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:416:24
_.forEach@http://localhost:8069/web/static/lib/underscore/underscore.js:145:9
_renderInnerGroup@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:388:9
_renderTagGroup@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:599:20
_renderNode@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:483:20
_renderNode@http://localhost:8069/mail/static/src/js/form_renderer.js:83:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_.collect@http://localhost:8069/web/static/lib/underscore/underscore.js:164:24
_renderTabPage@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:541:24
_renderTagNotebook/renderedTabs<@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:708:25
_.collect@http://localhost:8069/web/static/lib/underscore/underscore.js:164:24
_renderTagNotebook@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:705:28
_renderNode@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:483:20
_renderNode@http://localhost:8069/mail/static/src/js/form_renderer.js:83:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_.collect@http://localhost:8069/web/static/lib/underscore/underscore.js:164:24
_renderTagSheet@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:767:23
_renderNode@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:483:20
_renderNode@http://localhost:8069/mail/static/src/js/form_renderer.js:83:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_.collect@http://localhost:8069/web/static/lib/underscore/underscore.js:164:24
_renderTagForm@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:585:24
_renderNode@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:483:20
_renderNode@http://localhost:8069/mail/static/src/js/form_renderer.js:83:20
OdooClass.extend/Class.include/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:123:35
_renderView@http://localhost:8069/web/static/src/js/views/form/form_renderer.js:795:21
_render@http://localhost:8069/web/static/src/js/views/basic/basic_renderer.js:498:16
start@http://localhost:8069/web/static/src/js/views/abstract_renderer.js:37:23
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
__widgetRenderAndInsert/<@http://localhost:8069/web/static/src/js/core/widget.js:206:20
then/</</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:8069/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:8069/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:8069/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:8069/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:8069/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:8069/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:8069/web/static/lib/jquery/jquery.js:3271:48
__widgetRenderAndInsert@http://localhost:8069/web/static/src/js/core/widget.js:203:16
appendTo@http://localhost:8069/web/static/src/js/core/widget.js:142:16
start@http://localhost:8069/web/static/src/js/views/abstract_controller.js:53:13
OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/static/src/js/core/class.js:90:35
start@http://localhost:8069/web/static/src/js/views/basic/basic_controller.js:50:16

Avatar
Discard
Author Best Answer

solved by updating all modules by --update=all option

the debug with asset was not working

Avatar
Discard