Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Restored db not working

Subscriure's

Get notified when there's activity on this post

This question has been flagged
systemdatabaserestore
2 Respostes
5644 Vistes
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
Descartar
Avatar
renuka sawai
Autor Best Answer

Thanks

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Solved
database restore
Avatar
Avatar
Avatar
2
de des. 23
3904
Database restore stopping in between
database restore
Avatar
Avatar
Avatar
3
de jul. 19
5067
v13: getting error while restoring database Solved
database restore Odoo13.0
Avatar
1
de nov. 23
2279
Restore database from Odoo 12 to Odoo 16 Solved
database restore odoo
Avatar
Avatar
1
de febr. 24
79
Odoo 14: request not bound to a database Solved
database restore odoo
Avatar
Avatar
2
de maig 23
7825
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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