Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Restored db not working

Odoberať

Get notified when there's activity on this post

This question has been flagged
systemdatabaserestore
2 Replies
5639 Zobrazenia
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
Zrušiť
Avatar
renuka sawai
Autor Best Answer

Thanks

0
Avatar
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Solved
database restore
Avatar
Avatar
Avatar
2
dec 23
3900
Database restore stopping in between
database restore
Avatar
Avatar
Avatar
3
júl 19
5064
v13: getting error while restoring database Solved
database restore Odoo13.0
Avatar
1
nov 23
2277
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
máj 23
7822
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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