Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Error when render the template v15 model: website.layout

Naroči se

Get notified when there's activity on this post

This question has been flagged
websiterender_template
2054 Prikazi
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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How do I remove the numbers from the slugs in my blog and blogpost? Solved
website
Avatar
Avatar
Avatar
Avatar
3
sep. 25
2517
Login Website Solved
website
Avatar
3
okt. 25
149265
500 Server Error after upgrading from 18.0 to 18.4 Odoo Online
website
Avatar
Avatar
1
sep. 25
1865
Can't delete website Solved
website
Avatar
Avatar
Avatar
Avatar
Avatar
4
sep. 25
6687
How to Hide website Menus based on Groups
website
Avatar
Avatar
Avatar
2
avg. 25
1932
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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