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

Error when render the template v15 model: website.layout

Subscriure's

Get notified when there's activity on this post

This question has been flagged
websiterender_template
2015 Vistes
Avatar
Renata Carrillo

When trying to access the website, the following error is displayed:


Here is the full error:

Traceback (most recent call last):
  File "/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.qweb', <function IrQWeb._generate_asset_nodes_cache at 0x7fec6fb41f70>, 'website.assets_editor', True, False, '1', False, False, False, (1, 'pt_BR'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/odoo/odoo/addons/base/models/qweb.py", line 221, in render_template
    yield from compiled_fn(self, values, log)
  File "<template_4382>", line 417, in template_4382
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 263, in _get_asset_nodes
    return self._generate_asset_nodes_cache(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
  File "<decorator-gen-71>", line 2, in _generate_asset_nodes_cache
  File "/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 272, in _generate_asset_nodes_cache
    return self._generate_asset_nodes(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 283, in _generate_asset_nodes
    return remains + asset.to_node(css=css, js=js, debug=debug, async_load=async_load, defer_load=defer_load, lazy_load=lazy_load)
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 147, in to_node
    css_attachments = self.css(is_minified=not is_debug_assets) or []
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 435, in css
    self.save_attachment(extension, css)
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 337, in save_attachment
    attachment = ira.with_user(SUPERUSER_ID).create(values)
  File "<decorator-gen-326>", line 2, in create
  File "/odoo/odoo/api.py", line 417, in _model_create_multi
    return create(self, [arg])
  File "/odoo/extra-addons/enterprise/documents_account/models/ir_attachment.py", line 8, in create
    attachments = super().create(vals_list)
  File "<decorator-gen-250>", line 2, in create
  File "/odoo/odoo/api.py", line 398, in _model_create_single
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "/odoo/odoo/api.py", line 398, in <genexpr>
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "/odoo/addons/website/models/ir_attachment.py", line 25, in create
    return super(Attachment, self).create(vals)
  File "<decorator-gen-237>", line 2, in create
  File "/odoo/odoo/api.py", line 395, in _model_create_single
    return create(self, arg)
  File "/odoo/extra-addons/enterprise/documents/models/ir_attachment.py", line 76, in create
    attachment = super(IrAttachment, self).create(vals)
  File "<decorator-gen-55>", line 2, in create
  File "/odoo/odoo/api.py", line 417, in _model_create_multi
    return create(self, [arg])
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 632, in create
    values.update(self._get_datas_related_values(
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 266, in _get_datas_related_values
    values['store_fname'] = self._file_write(data, values['checksum'])
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 129, in _file_write
    fname, full_path = self._get_path(bin_value, checksum)
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 112, in _get_path
    raise UserError("The attachment is colliding with an existing file.")
odoo.exceptions.UserError: The attachment is colliding with an existing file.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/odoo/odoo/addons/base/models/ir_http.py", line 242, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo/http.py", line 819, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo/http.py", line 368, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo/http.py", line 360, in checked_call
    result.flatten()
  File "/odoo/odoo/http.py", line 1291, in flatten
    self.response.append(self.render())
  File "/odoo/odoo/http.py", line 1284, in render
    return env["ir.ui.view"]._render_template(self.template, self.qcontext)
  File "/odoo/odoo/addons/base/models/ir_ui_view.py", line 1994, in _render_template
    return self.browse(self.get_view_id(template))._render(values, engine)
  File "/odoo/addons/website/models/ir_ui_view.py", line 435, in _render
    return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext)
  File "/odoo/addons/web_editor/models/ir_ui_view.py", line 35, in _render
    return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
  File "/odoo/odoo/addons/base/models/ir_ui_view.py", line 2002, in _render
    return self.env[engine]._render(self.id, qcontext)
  File "/odoo/extra-addons/enterprise/web_studio/models/ir_qweb.py", line 47, in _render
    return super(IrQWeb, self)._render(template, values=values, **options)
  File "/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 93, in _render
    result = super()._render(template, values=values, **compile_options)
  File "/odoo/odoo/addons/base/models/qweb.py", line 134, in _render
    result = ''.join(rendering)
  File "/odoo/odoo/addons/base/models/qweb.py", line 223, in render_template
    raise e
  File "/odoo/odoo/addons/base/models/qweb.py", line 221, in render_template
    yield from compiled_fn(self, values, log)
  File "<template_4379>", line 20, in template_4379
  File "/odoo/odoo/addons/base/models/qweb.py", line 225, in render_template
    raise QWebException("Error when render the template", self, options,
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/odoo/odoo/addons/base/models/ir_http.py", line 242, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo/http.py", line 819, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo/http.py", line 368, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo/http.py", line 360, in checked_call
    result.flatten()
  File "/odoo/odoo/http.py", line 1291, in flatten
    self.response.append(self.render())
  File "/odoo/odoo/http.py", line 1284, in render
    return env["ir.ui.view"]._render_template(self.template, self.qcontext)
  File "/odoo/odoo/addons/base/models/ir_ui_view.py", line 1994, in _render_template
    return self.browse(self.get_view_id(template))._render(values, engine)
  File "/odoo/addons/website/models/ir_ui_view.py", line 435, in _render
    return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext)
  File "/odoo/addons/web_editor/models/ir_ui_view.py", line 35, in _render
    return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
  File "/odoo/odoo/addons/base/models/ir_ui_view.py", line 2002, in _render
    return self.env[engine]._render(self.id, qcontext)
  File "/odoo/extra-addons/enterprise/web_studio/models/ir_qweb.py", line 47, in _render
    return super(IrQWeb, self)._render(template, values=values, **options)
  File "/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 93, in _render
    result = super()._render(template, values=values, **compile_options)
  File "/odoo/odoo/addons/base/models/qweb.py", line 134, in _render
    result = ''.join(rendering)
  File "/odoo/odoo/addons/base/models/qweb.py", line 223, in render_template
    raise e
  File "/odoo/odoo/addons/base/models/qweb.py", line 221, in render_template
    yield from compiled_fn(self, values, log)
  File "<template_4379>", line 20, in template_4379
  File "/odoo/odoo/addons/base/models/qweb.py", line 225, in render_template
    raise QWebException("Error when render the template", self, options,
odoo.addons.base.models.qweb.QWebException: The attachment is colliding with an existing file.
Traceback (most recent call last):
  File "/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.qweb', <function IrQWeb._generate_asset_nodes_cache at 0x7fec6fb41f70>, 'website.assets_editor', True, False, '1', False, False, False, (1, 'pt_BR'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/odoo/odoo/addons/base/models/qweb.py", line 221, in render_template
    yield from compiled_fn(self, values, log)
  File "<template_4382>", line 417, in template_4382
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 263, in _get_asset_nodes
    return self._generate_asset_nodes_cache(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
  File "<decorator-gen-71>", line 2, in _generate_asset_nodes_cache
  File "/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 272, in _generate_asset_nodes_cache
    return self._generate_asset_nodes(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
  File "/odoo/odoo/addons/base/models/ir_qweb.py", line 283, in _generate_asset_nodes
    return remains + asset.to_node(css=css, js=js, debug=debug, async_load=async_load, defer_load=defer_load, lazy_load=lazy_load)
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 147, in to_node
    css_attachments = self.css(is_minified=not is_debug_assets) or []
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 435, in css
    self.save_attachment(extension, css)
  File "/odoo/odoo/addons/base/models/assetsbundle.py", line 337, in save_attachment
    attachment = ira.with_user(SUPERUSER_ID).create(values)
  File "<decorator-gen-326>", line 2, in create
  File "/odoo/odoo/api.py", line 417, in _model_create_multi
    return create(self, [arg])
  File "/odoo/extra-addons/enterprise/documents_account/models/ir_attachment.py", line 8, in create
    attachments = super().create(vals_list)
  File "<decorator-gen-250>", line 2, in create
  File "/odoo/odoo/api.py", line 398, in _model_create_single
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "/odoo/odoo/api.py", line 398, in <genexpr>
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "/odoo/addons/website/models/ir_attachment.py", line 25, in create
    return super(Attachment, self).create(vals)
  File "<decorator-gen-237>", line 2, in create
  File "/odoo/odoo/api.py", line 395, in _model_create_single
    return create(self, arg)
  File "/odoo/extra-addons/enterprise/documents/models/ir_attachment.py", line 76, in create
    attachment = super(IrAttachment, self).create(vals)
  File "<decorator-gen-55>", line 2, in create
  File "/odoo/odoo/api.py", line 417, in _model_create_multi
    return create(self, [arg])
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 632, in create
    values.update(self._get_datas_related_values(
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 266, in _get_datas_related_values
    values['store_fname'] = self._file_write(data, values['checksum'])
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 129, in _file_write
    fname, full_path = self._get_path(bin_value, checksum)
  File "/odoo/odoo/addons/base/models/ir_attachment.py", line 112, in _get_path
    raise UserError("The attachment is colliding with an existing file.")
odoo.exceptions.UserError: The attachment is colliding with an existing file.
Error when render the template
UserError: The attachment is colliding with an existing file.
Template: website.layout
Path: /t/html/head/t[9]
Node: <t t-call-assets="website.assets_editor" t-js="false" groups="website.group_website_publisher"/>





Has anyone encountered the same issue?

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
How do I remove the numbers from the slugs in my blog and blogpost? Solved
website
Avatar
Avatar
Avatar
Avatar
3
de set. 25
2497
Login Website Solved
website
Avatar
3
d’oct. 25
149265
500 Server Error after upgrading from 18.0 to 18.4 Odoo Online
website
Avatar
Avatar
1
de set. 25
1830
Can't delete website Solved
website
Avatar
Avatar
Avatar
Avatar
Avatar
4
de set. 25
6646
How to Hide website Menus based on Groups
website
Avatar
Avatar
Avatar
2
d’ag. 25
1900
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