Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Error when render the template v15 model: website.layout

Odoberať

Get notified when there's activity on this post

This question has been flagged
websiterender_template
2012 Zobrazenia
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How do I remove the numbers from the slugs in my blog and blogpost? Solved
website
Avatar
Avatar
Avatar
Avatar
3
sep 25
2497
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
1829
Can't delete website Solved
website
Avatar
Avatar
Avatar
Avatar
Avatar
4
sep 25
6645
How to Hide website Menus based on Groups
website
Avatar
Avatar
Avatar
2
aug 25
1899
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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