Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Restored db not working

Naroči se

Get notified when there's activity on this post

This question has been flagged
systemdatabaserestore
2 Odgovori
5655 Prikazi
Avatar
renuka sawai

I have restored a database which is working and restoring on another system properly.
But I am getting errors on select that database. Its odoo v11 and postgres 10.9

Traceback (most recent call last):
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/tools/cache.py", line 84, in lookup
    r = d[key]
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/tools/func.py", line 68, in wrapper
    return func(self, *args, **kwargs)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/tools/lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.qweb', <function IrQWeb._get_asset_nodes at 0x7fd0f1639d90>, 'web.assets_common', 'en_US', True, False, False, False, False, (1,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_qweb/qweb.py", line 343, in _compiled_fn
    return compiled(self, append, new, options, log)
  File "<template>", line 1, in template_website_layout_43
  File "<template>", line 2, in body_call_content_42
  File "<template>", line 19, in set_22
  File "<decorator-gen-39>", line 2, in _get_asset_nodes
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 302, in _get_asset_nodes
    return remains + asset.to_node(css=css, js=js, debug=debug, async_load=async_load)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 153, in to_node
    css_attachments = self.css() or []
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 310, in css
    self.save_attachment("css", ' '.join(page), inc=idx)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 257, in save_attachment
    attachment = ira.sudo().create(values)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_attachment.py", line 466, in create
    return super(IrAttachment, self).create(values)
  File "/home/dev/Desktop/odoo11/custom/noblerush_dependency/component_event/models/base.py", line 93, in create
    record = super(Base, self).create(vals)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/models.py", line 3381, in create
    self._fields[key].determine_inverse(record)
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/fields.py", line 1071, in determine_inverse
    getattr(records, self.inverse)()
  File "/home/dev/Desktop/odoo11/custom/misc-addons/ir_attachment_s3/models/ir_attachment.py", line 104, in _inverse_datas
    super(IrAttachment, self - s3_records)._inverse_datas()
  File "/home/dev/Desktop/odoo11/odoo11-server/odoo/addons/base/ir/ir_attachment.py", line 215, in _inverse_datas
    super(IrAttachment, attach.sudo()).write(vals)
  File "/home/dev/Desktop/odoo11/custom/noblerush_dependency/component_event/models/base.py", line 103, in write
    self._event('on_record_write').notify(record, fields=fields)
  File "/home/dev/Desktop/odoo11/custom/noblerush_dependency/component_event/models/base.py", line 89, in _event
    return collecter.collect_events(name)
  File "/home/dev/Desktop/odoo11/custom/noblerush_dependency/component_event/components/event.py", line 261, in collect_events
    events = self._init_collected_events(self._collect_events(name))
  File "/usr/local/lib/python3.6/dist-packages/cachetools/__init__.py", line 82, in wrapper
    k = key(*args, **kwargs)
TypeError: <lambda>() missing 1 required positional argument: 'name'

Error to render compiling AST
TypeError: <lambda>() missing 1 required positional argument: 'name'
Template: website.layout
Path: /templates/t/t/t[5]/t[6]
Node: <t t-call-assets="web.assets_common" t-js="false"/>


​

0
Avatar
Opusti
Avatar
renuka sawai
Avtor Best Answer

Thanks

0
Avatar
Opusti
Avatar
Ermin Trevisan
Best Answer

To me that looks like you did some customizations in the website.layout in the other instance, which are not present in the new instance. This customization may come from directly manipulating the original code (bad practice and not recommended) or from a module (good practice), which is not installed on the new instance.

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Solved
database restore
Avatar
Avatar
Avatar
2
dec. 23
3910
Database restore stopping in between
database restore
Avatar
Avatar
Avatar
3
jul. 19
5076
v13: getting error while restoring database Solved
database restore Odoo13.0
Avatar
1
nov. 23
2284
Restore database from Odoo 12 to Odoo 16 Solved
database restore odoo
Avatar
Avatar
1
feb. 24
79
Odoo 14: request not bound to a database Solved
database restore odoo
Avatar
Avatar
2
maj 23
7836
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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