Skip to Content
Menu
This question has been flagged
2 Replies
6356 Views

Hi everyone,


We're getting this message after adding a new field with Odoo Studio. Every time we try to access the Employees module, we get this:


Odoo Client Error:

Traceback:
TypeError: Cannot read property 'raw_value' of undefined
    at Engine.eval (eval at _render (https://tabu1.odoo.com/web/static/lib/qweb/qweb2.js:470:33), <anonymous>:45:31)
    at Engine._render (https://tabu1.odoo.com/web/static/lib/qweb/qweb2.js:459:58)
    at Engine.render (https://tabu1.odoo.com/web/static/lib/qweb/qweb2.js:451:26)
    at Engine._render (https://tabu1.odoo.com/web/static/lib/qweb/qweb2.js:481:29)
    at Engine.render (https://tabu1.odoo.com/web/static/lib/qweb/qweb2.js:451:26)
    at Class._render (https://tabu1.odoo.com/web/static/src/js/views/kanban/kanban_record.js:354:40)
    at Class._render (https://tabu1.odoo.com/hr/static/src/js/chat.js:23:32)
    at Class.prototype.<computed> [as _render] (https://tabu1.odoo.com/web/static/src/js/core/class.js:90:38)
    at Class.start (https://tabu1.odoo.com/web/static/src/js/views/kanban/kanban_record.js:55:70)
    at Class.prototype.<computed> [as start] (https://tabu1.odoo.com/web/static/src/js/core/class.js:90:38)


Is there any "safe mode" feature, an option to revert Odoo Studio changes, or a way to change the code manually in Odoo Enterprise Saas?


Thanks!

Avatar
Discard
Author

Thank you Niyas, that worked!

Best Answer

Hi,

The changes you are applying to the views are stored in the database as inherited views of the main view. So if you need to revert any applied changes, what you have to do is that, activate the developer mode and navigate to Settings -> Technical -> User Interface -> Views and search for Odoo Studio:  in the search bar.


Now all the views which is created from the studio customization will be listed here.


In the model column, you can see the model name, select and open the record that throws you the error(model under HR menu), Open the view and set the Active as False, thus it will be inactive and wont get any changes applied from this view.



Thanks

Avatar
Discard

This works, but you probably want to delete the Extension View at some point, especially if it contains new fields that you no longer need.