Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Trying to restore database of odoo16.2 to odoo16.0

Subscribe

Get notified when there's activity on this post

This question has been flagged
databaseversiondowngrade
2460 Views
Avatar
Madhav Pancholi

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? 

0
Avatar
Discard
imad chaikhi

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

Madhav Pancholi
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. 

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
where is oddo database name stored
database version upgrade
Avatar
Avatar
3
Dec 17
7794
Database disappeared from list after activating Google Oauth for administrator
database
Avatar
0
Jul 25
2298
Setup Odoo with specific database
database
Avatar
Avatar
2
Nov 24
8523
database locked
database
Avatar
Avatar
Avatar
2
Oct 24
4873
my data base is locked
database
Avatar
Avatar
2
Aug 24
2705
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now