-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] web_widget_x2many_2d_matrix: Error when value is Date #2867
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
web_widget_x2many_2d_matrix
Describe the bug
When the value is Date, js error is show:
UncaughtPromiseError > OwlError
Promesse non interceptée > An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:16490:5 (/web/static/lib/owl/owl.js:87)
handleError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:17982:35 (/web/static/lib/owl/owl.js:1579)
handleError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22181:20 (/web/static/lib/owl/owl.js:5778)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18128:30 (/web/static/lib/owl/owl.js:1725)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:63:38 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:14:21 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:18:31 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
slot91@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:807:12 (/web/static/lib/owl/owl.js:5540)
callSlot@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:19372:37 (/web/static/lib/owl/owl.js:2969)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:50:29 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
updateAndRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18898:19 (/web/static/lib/owl/owl.js:2495)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22154:41 (/web/static/lib/owl/owl.js:5751)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:892:12 (/web/static/lib/owl/owl.js:5540)
callTemplate@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:19691:50 (/web/static/lib/owl/owl.js:3288)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:9:12 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
updateAndRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18898:19 (/web/static/lib/owl/owl.js:2495)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22154:41 (/web/static/lib/owl/owl.js:5751)
slot5@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:68:32 (/web/static/lib/owl/owl.js:5540)
Caused by: TypeError: value is null
formatDateTime@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_backend.js:8765:5 (/web/static/src/core/l10n/dates.js:263)
get formattedValue@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_backend.js:30513:16 (/web/static/src/views/fields/datetime/datetime_field.js:21)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:12:18 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:63:38 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:14:21 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:18:31 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.js:2379)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22174:36 (/web/static/lib/owl/owl.js:5771)
slot91@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:807:12 (/web/static/lib/owl/owl.js:5540)
callSlot@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:19372:37 (/web/static/lib/owl/owl.js:2969)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:50:29 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
updateAndRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18898:19 (/web/static/lib/owl/owl.js:2495)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22154:41 (/web/static/lib/owl/owl.js:5751)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:892:12 (/web/static/lib/owl/owl.js:5540)
callTemplate@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:19691:50 (/web/static/lib/owl/owl.js:3288)
template@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:9:12 (/web/static/lib/owl/owl.js:5540)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18125:38 (/web/static/lib/owl/owl.js:1722)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
updateAndRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18898:19 (/web/static/lib/owl/owl.js:2495)
asynccreateComponent/<@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22154:41 (/web/static/lib/owl/owl.js:5751)
slot5@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js line 21943 > Function:68:32 (/web/static/lib/owl/owl.js:5540)
To Reproduce
Affected versions: 16.0
Create fields like :
<field name="partner_history_ids" widget="x2many_2d_matrix" field_x_axis="sequence" field_y_axis="name" field_value="date"> <tree> <field name="sequence" /> <field name="name" /> <field name="date" /> </tree> </field>
show the view, error is display
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:16490:5 (/web/static/lib/owl/owl.js:87)
handleError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:17982:35 (/web/static/lib/owl/owl.js:1579)
handleError@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:22181:20 (/web/static/lib/owl/owl.js:5778)
_render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18128:30 (/web/static/lib/owl/owl.js:1725)
render@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18117:18 (/web/static/lib/owl/owl.js:1714)
initiateRender@https://atelierpichon-staging-221102-12951325.dev.odoo.com/web/assets/debug/web.assets_common.js:18782:23 (/web/static/lib/owl/owl.j…
error_service.js:73
handleError error_service.js:73
start error_service.js:130
start error_service.js:119
start env.js:111
_startServices env.js:142
startServices env.js:85
startWebClient start.js:33
main.js:12
def boot.js:128
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
(Asynchrone : promise callback)
def boot.js:135
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
(Asynchrone : promise callback)
def boot.js:135
processJob boot.js:126
processJobs boot.js:197
define boot.js:254
web.assets_backend_prod_only.js:118
Uncaught (in promise) Error: An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError owl.js:87
handleError owl.js:1579
handleError owl.js:5778
_render owl.js:1725
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:63
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:14
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:18
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
slot91 web.assets_common.js line 21943 > Function:807
callSlot owl.js:2969
template web.assets_common.js line 21943 > Function:50
_render owl.js:1722
render owl.js:1714
render owl.js:2426
batched owl.js:264
notifyReactives owl.js:1961
set owl.js:2089
activatePage notebook.js:112
hdlr1 web.assets_common.js line 21943 > Function:33
mainEventHandler owl.js:5827
listener owl.js:357
setup owl.js:361
mount owl.js:1071
mount owl.js:436
mount owl.js:1172
mount owl.js:1084
mount owl.js:980
mount owl.js:436
mount owl.js:2551
mount owl.js:1084
mount owl.js:980
mount owl.js:42
mount owl.js:2551
mount owl.js:42
mount owl.js:436
mount owl.js:1084
mount owl.js:980
mount owl.js:436
mount owl.js:2551
mount owl.js:1084
mount owl.js:980
mount owl.js:2551
mount owl.js:42
mount owl.js:1454
mount owl.js:2551
mount owl.js:2551
mount owl.js:42
mount owl.js:2551
mount owl.js:42
mount owl.js:42
patch owl.js:1132
Caused by: TypeError: value is null
formatDateTime dates.js:263
get formattedValue datetime_field.js:21
template web.assets_common.js line 21943 > Function:12
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:63
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:14
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
template web.assets_common.js line 21943 > Function:18
_render owl.js:1722
render owl.js:1714
initiateRender owl.js:2379
createComponent owl.js:5771
slot91 web.assets_common.js line 21943 > Function:807
callSlot owl.js:2969
template web.assets_common.js line 21943 > Function:50
_render owl.js:1722
render owl.js:1714
render owl.js:2426
batched owl.js:264
notifyReactives owl.js:1961
set owl.js:2089
activatePage notebook.js:112
hdlr1 web.assets_common.js line 21943 > Function:33
mainEventHandler owl.js:5827
listener owl.js:357
setup owl.js:361
mount owl.js:1071
mount owl.js:436
mount owl.js:1172
mount owl.js:1084
mount owl.js:980
mount owl.js:436
mount owl.js:2551
mount owl.js:1084
mount owl.js:980
mount owl.js:42
mount owl.js:2551
mount owl.js:42
mount owl.js:436
mount owl.js:1084
mount owl.js:980
mount owl.js:436
mount owl.js:2551
mount owl.js:1084
mount owl.js:980
mount owl.js:2551
mount owl.js:42
mount owl.js:1454
mount owl.js:2551
mount owl.js:2551
mount owl.js:42
mount owl.js:2551
mount owl.js:42
mount owl.js:42
patch owl.js:1132
The text was updated successfully, but these errors were encountered: