Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Restored db not working

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
systemdatabaserestore
2 Răspunsuri
5666 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
renuka sawai
Autor Cel mai bun răspuns

Thanks

0
Imagine profil
Abandonează
Imagine profil
Ermin Trevisan
Cel mai bun răspuns

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
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Rezolvat
database restore
Imagine profil
Imagine profil
Imagine profil
2
dec. 23
3919
Database restore stopping in between
database restore
Imagine profil
Imagine profil
Imagine profil
3
iul. 19
5086
v13: getting error while restoring database Rezolvat
database restore Odoo13.0
Imagine profil
1
nov. 23
2289
Restore database from Odoo 12 to Odoo 16 Rezolvat
database restore odoo
Imagine profil
Imagine profil
1
feb. 24
79
Odoo 14: request not bound to a database Rezolvat
database restore odoo
Imagine profil
Imagine profil
2
mai 23
7841
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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