Hello guys,It's impossible to update neither my stock module. Always get an error.
Here is the log.----------------------------------------------------------------------------------------------------
Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 889, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-server/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 528, in button_immediate_upgrade return self._button_immediate_function(type(self).button_upgrade) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 485, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 83, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 335, in load_modules force, status, report, loaded_modules, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 237, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/odoo/odoo-server/odoo/modules/loading.py", line 136, in load_module_graph registry.init_models(cr, model_names, {'module': package.name}) File "/odoo/odoo-server/odoo/modules/registry.py", line 318, in init_models model.init() File "/odoo/odoo-server/addons/stock/report/report_stock.py", line 22, in init drop_view_if_exists(self._cr, 'report_stock_lines_date') File "/odoo/odoo-server/odoo/tools/sql.py", line 5, in drop_view_if_exists cr.execute("DROP view IF EXISTS %s CASCADE" % (viewname,)) File "/odoo/odoo-server/odoo/sql_db.py", line 154, in wrapper return f(self, *args, **kwargs) File "/odoo/odoo-server/odoo/sql_db.py", line 231, in execute res = self._obj.execute(query, params) ProgrammingError: "report_stock_lines_date" is not a view HINT: Use DROP TABLE to remove a table.
--------------------------------------------------------
Thank you