Help

0

Getting JS(Javascript error) while editing Sale Order line quickly

Hello folks,

I am trying to modified sale order line from the odoo sales app. When editing any line of order frequently getting error below error.
here we have multiple fields are editable into view & many fields are readonly.

Steps to Reproduce :
1) Add multiple line into order line.
2) Edit order lines & change multiple value of order line.
3) Click next line for edit & change multiple values at the time.

Error 1:-

Traceback:
TypeError: Cannot set properties of null (setting 'props')
at FieldWrapper.updateModifiersValue (https://stage-rydalcomm.silenterp.com/web/content/1744-d622cae/web.assets_backend.js:1194:29)
at _apply (https://stage-rydalcomm.silenterp.com/web/content/1744-d622cae/web.assets_backend.js:1668:278)
at Class._applyModifiers (https://stage-rydalcomm.silenterp.com/web/content/1744-d622cae/web.assets_backend.js:1666:716)
at Class._registerModifiers (https://stage-rydalcomm.silenterp.com/web/content/1744-d622cae/web.assets_backend.js:1684:65)
at https://stage-rydalcomm.silenterp.com/web/content/1744-d622cae/web.assets_backend.js:1691:127


Along to gether some times error occurs like below.


Error 2:-

Traceback:
TypeError: Cannot read properties of undefined (reading 'canBeRemoved')
at Class.clear UncommittedChanges (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager.js:100:45)
at Class. executeAction (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager.js:315:21)
at Class._executeClientAction (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager.js:454:25)
at Class. handleAction [as super] (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager.js:670:29) at Class._handleAction (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager_act_window.js:403:28)
at Class. (https://dev-rydalcomm.silenterp.com/web/static/src/js/core/class.js:123:38)
at Class._handleAction (https://dev-rydalcomm.silenterp.com/web/static/src/js/chrome/action_manager_report.js:164:28)
at Class. (https://dev-rydalcomm.silenterp.com/web/static/src/js/core/class.js:123:38)
at Class. handleAction (https://dev-rydalcomm.silenterp.com/muk_web_theme/static/src/js/chrome/actions.js:30:21)
at Class._handleAction (https://dev-rydalcomm.silenterp.com/web/static/src/js/core/class.js:123:38)

Error 3:-

Uncaught TypeError: Cannot read properties of null (reading 'focusableElement')

http://localhost:8069/web/static/src/js/fields/field_wrapper.js:108
Traceback:
TypeError: Cannot read properties of null (reading 'focusableElement')
at Fieldwrapper.getFocusableElement (http://localhost:8069/web/static/src/js/fields/field_wrapper.js:108:45)
at http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:496:34 at each..forEach (http://localhost:8069/web/static/lib/underscore/underscore.js:145:9)
at togglewidgets (http://localhost:8069/web/static/src/js/views/list/list editable_renderer.js:495:15) at Class.unselect Row (http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:501:9)
at Class. selectRow (http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:1312:21)
at Class. selectCell (http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:1272:21)
at Class._onCellclick (http://localhost:8069/web/static/src/js/views/list/list_editable_renderer.js:1480:14)
at HTMLTableCellElement. (http://localhost:8069/web/static/src/js/core/mixins.js:277:23)
at HTMLDivElement.dispatch (http://localhost:8069/web/static/lib/jquery/jquery.js:5183:27)


Thank you in advance for your time.

Avatar
Discard
1Answer
0
Avatar
Ray Carnes (ray)
Best Answer

Can you open a ticket with Odoo Support if this is still happening?

odoo.com/help 

Avatar
Discard