When trying to install the update of the website_sale_hide_price the Odoo 16 return an error. See below. If restarting the server you will get an internal servicer error and Odoo will not load.
odoo.tools.convert.ParseError: while parsing /opt/addons/website_sale_hide_price/views/res_config_settings_views.xml:3
Error while validating view near:
Have an Odoo 16 installation with version 16.0.1.4.0 of the module
Install the module version 16.0.2.0.0 on the server
In Odoo Apps menu update the module
alternative restart Odoo server
Expected behavior
When trying to update the module you get the error message described above. If you try to restart the server you will get an internal server error and Odoo will not start again.
Additional context
Latest version of Odoo 16 and Ubuntu 22.04
Module
website_sale_hide_price
Describe the bug
When trying to install the update of the website_sale_hide_price the Odoo 16 return an error. See below. If restarting the server you will get an internal servicer error and Odoo will not load.
odoo.tools.convert.ParseError: while parsing /opt/addons/website_sale_hide_price/views/res_config_settings_views.xml:3 Error while validating view near:
Field "website_hide_price" does not exist in model "res.config.settings"
View error context: {'file': '/opt/addons/website_sale_hide_price/views/res_config_settings_views.xml', 'line': 5, 'name': 'res.config.settings form', 'view': ir.ui.view(4840,), 'view.model': 'res.config.settings', 'view.parent': ir.ui.view(3268,), 'xmlid': 'res_config_settings_view_form'}
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Expected behavior When trying to update the module you get the error message described above. If you try to restart the server you will get an internal server error and Odoo will not start again.
Additional context Latest version of Odoo 16 and Ubuntu 22.04