Skip to Content
Menu
This question has been flagged

Hello everyone, I have data base of odoo 16.2 version and i am trying to restore this data base in odoo 16.0 version. I am having error when i am restoring this database. do you guys have any idea how can i do this? or is it even possible? 

Avatar
Discard

Hi Madhav,
Can please give as the type of errors you get when restoring the database and how are you doing it?

Author

_view"."priority" AS "priority", "ir_ui_view"."type" AS "type", "ir_ui_view"."arch_db"->>'en_US' AS "arch_db", "ir_ui_view"."arch_fs" AS "arch_fs", "ir_ui_view"."arch_updated" AS "arch_updated", "ir_ui_view"."arch_prev" AS "arch_prev", "ir_ui_view"."inherit_id" AS "inherit_id", "ir_ui_view"."field_parent" AS "field_parent", "ir_ui_view"."mode" AS "mode", "ir_ui_view"."active" AS "active", "ir_ui_view"."create_uid" AS "create_uid", "ir_ui_view"."create_date" AS "create_date", "ir_ui_view"."write_uid" AS "write_uid", "ir_ui_view"."write_date" AS "write_date", "ir_ui_view"."customize_show" AS "customize_show" FROM "ir_ui_view" WHERE "ir_ui_view".id IN (186) ERROR: column ir_ui_view.field_parent does not exist LINE 1: ...prev", "ir_ui_view"."inherit_id" AS "inherit_id", "ir_ui_vie... ^ 2023-09-27 04:47:04,261 22235 ERROR v16_bom_new odoo.http: Exception during request handling. Traceback (most recent call last): File "/home/madhav/workspace/community/16.0/odoo/tools/cache.py", line 85, in lookup r = d[key] File "", line 2, in __getitem__ File "/home/madhav/workspace/community/16.0/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/home/madhav/workspace/community/16.0/odoo/tools/lru.py", line 34, in __getitem__ a = self.d[obj] KeyError: ('ir.qweb', , ('186', "'en_US'", 'None', 'None', 'None', 'None', 'None')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/madhav/workspace/community/16.0/odoo/api.py", line 984, in get cache_value = field_cache[record._ids[0]] KeyError: 186 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/madhav/workspace/community/16.0/odoo/fields.py", line 1160, in __get__ value = env.cache.get(record, self) File "/home/madhav/workspace/community/16.0/odoo/api.py", line 991, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: 'ir.ui.view(186,).inherit_id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1998, in __call__ response = request._serve_db() File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1584, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/home/madhav/workspace/community/16.0/odoo/service/model.py", line 133, in retrying result = func() File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1611, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1725, in dispatch return self.request.registry['ir.http']._dispatch(endpoint) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_http.py", line 156, in _dispatch result.flatten() File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1099, in flatten self.response.append(self.render()) File "/home/madhav/workspace/community/16.0/odoo/http.py", line 1091, in render return request.env["ir.ui.view"]._render_template(self.template, self.qcontext) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_ui_view.py", line 2128, in _render_template return self.env['ir.qweb']._render(template, values) File "/home/madhav/workspace/community/16.0/odoo/tools/profiler.py", line 292, in _tracked_method_render return method_render(self, template, values, **options) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 577, in _render template_functions, def_name = irQweb._compile(template) File "/home/madhav/workspace/community/16.0/odoo/tools/profiler.py", line 300, in _tracked_compile return method_compile(self, template) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 640, in _compile return self._load_values(base_key_cache, generate_functions) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 2447, in _load_values value = self._get_cached_values(cache_key, get_value) File "", line 2, in _get_cached_values File "/home/madhav/workspace/community/16.0/odoo/tools/cache.py", line 90, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 2460, in _get_cached_values return get_value() File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 615, in generate_functions code, options, def_name = self._generate_code(template) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 665, in _generate_code element, document, ref = self._get_template(template) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 792, in _get_template doc_or_elem, ref = self._load(ref_alias) or (None, None) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_qweb.py", line 830, in _load template = IrUIView._read_template(view.id) File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_ui_view.py", line 1997, in _read_template arch_tree = self.browse(view_id)._get_combined_arch() File "/home/madhav/workspace/community/16.0/odoo/addons/base/models/ir_ui_view.py", line 977, in _get_combined_arch if not root.inherit_id: File "/home/madhav/workspace/community/16.0/odoo/fields.py", line 2799, in __get__ return super().__get__(records, owner) File "/home/madhav/workspace/community/16.0/odoo/fields.py", line 1186, in __get__ recs._fetch_field(self) File "/home/madhav/workspace/community/16.0/odoo/models.py", line 3184, in _fetch_field self._read(fnames) File "/home/madhav/workspace/community/16.0/odoo/models.py", line 3261, in _read cr.execute(query_str, params + [sub_ids]) File "/home/madhav/workspace/community/16.0/odoo/sql_db.py", line 321, in execute res = self._obj.execute(query, params) psycopg2.errors.UndefinedColumn: column ir_ui_view.field_parent does not exist LINE 1: ...prev", "ir_ui_view"."inherit_id" AS "inherit_id", "ir_ui_vie...

This is the error i got during restoring data base. 

Related Posts Replies Views Activity
3
Dec 17
6641
0
Feb 25
1175
2
Nov 24
5630
2
Oct 24
2774
2
Aug 24
1642