Skip to content

[FIX] web_widget_x2many_2d_matrix: Do not fail when using float_time … #1

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

Open
wants to merge 1 commit into
base: 17.0-imp-handle-field-widget-which-support-m2m-as-value
Choose a base branch
from

Conversation

katyukha
Copy link

This PR seems to fix following error:

UncaughtPromiseError > OwlError
Uncaught Promise > Invalid props for component 'X2ManyField': unknown key 'canCreate', unknown key 'canOpen', unknown key 'canWrite', unknown key 'canQuickCreate', unknown key 'canCreateEdit', 'context' is missing (should be a object)
OwlError: Invalid props for component 'X2ManyField': unknown key 'canCreate', unknown key 'canOpen', unknown key 'canWrite', unknown key 'canQuickCreate', unknown key 'canCreateEdit', 'context' is missing (should be a object)
    Error: Invalid props for component 'X2ManyField': unknown key 'canCreate', unknown key 'canOpen', unknown key 'canWrite', unknown key 'canQuickCreate', unknown key 'canCreateEdit', 'context' is missing (should be a object)
        at Object.validateProps (http://localhost:17001/web/assets/debug/web.assets_web.js:10744:19) (/web/static/lib/owl/owl.js:3160)
        at X2Many2DMatrixRenderer.template (eval at compile (http://localhost:17001/web/assets/debug/web.assets_web.js:13283:20), <anonymous>:61:21) (/web/static/lib/owl/owl.js:5699)
        at Fiber._render (http://localhost:17001/web/assets/debug/web.assets_web.js:9313:38) (/web/static/lib/owl/owl.js:1729)
        at Fiber.render (http://localhost:17001/web/assets/debug/web.assets_web.js:9305:18) (/web/static/lib/owl/owl.js:1721)
        at ComponentNode.initiateRender (http://localhost:17001/web/assets/debug/web.assets_web.js:9985:23) (/web/static/lib/owl/owl.js:2401)

Not sure if this is correct way to fix it, but it seems that it works.


Thank you for you PR (OCA#3117)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant