Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Restored db not working

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
systemdatabaserestore
2 Réponses
5646 Vues
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
Ignorer
Avatar
renuka sawai
Auteur Meilleure réponse

Thanks

0
Avatar
Ignorer
Avatar
Ermin Trevisan
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Résolu
database restore
Avatar
Avatar
Avatar
2
déc. 23
3904
Database restore stopping in between
database restore
Avatar
Avatar
Avatar
3
juil. 19
5068
v13: getting error while restoring database Résolu
database restore Odoo13.0
Avatar
1
nov. 23
2280
Restore database from Odoo 12 to Odoo 16 Résolu
database restore odoo
Avatar
Avatar
1
févr. 24
79
Odoo 14: request not bound to a database Résolu
database restore odoo
Avatar
Avatar
2
mai 23
7826
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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