Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Document Layout Error | Web Report Assets pdf error

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
billingreceipt printQWebTemplateNotFoundposreceiptqweb-report
4737 Vizualizări
Imagine profil
MOHAMMAD HAMZA YOUNAS

I am getting this error while selecting the document layout in general setting, The purpose of using this document layout is to print cash receipt in pos.

Note: we are trying to use the A5 size paper, we don't want the thermal receipt to be printed.


Error:

Odoo Server Error



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', 'en_US', True, False, '1', False, False, False, (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', 'en_US', (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', ('en_US', False, None, False, False, None, None))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.ui.view', , 2, True, 'web.report_assets_pdf', (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 357, in get_template

document = options.get('load', self._load)(template, options)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 118, in _load

view_id = self.env['ir.ui.view'].get_view_id(name)

File "", line 2, in get_view_id

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 331, in get_view_id

raise ValueError('View %r in website %r not found' % (xml_id, self._context['website_id']))

ValueError: View 'web.report_assets_pdf' in website None not found



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 2121, in report_download

response = self.report_routes(reportname, docids=docids, converter=converter, context=context)

File "/home/odoo/src/odoo/odoo/http.py", line 532, in response_wrap

response = f(*args, **kw)

File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 2056, in report_routes

pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_actions_report.py", line 808, in _render_qweb_pdf

bodies, html_ids, header, footer, specific_paperformat_args = self_sudo.with_context(context)._prepare_html(html)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_actions_report.py", line 382, in _prepare_html

body = layout_with_lang._render(dict(subst=False, body=lxml.html.tostring(node), base_url=base_url))

File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 411, in _render

return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext)

File "/home/odoo/src/odoo/addons/web_editor/models/ir_ui_view.py", line 28, in _render

return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 1717, in _render

return self.env[engine]._render(self.id, qcontext)

File "/home/odoo/src/enterprise/web_studio/models/ir_qweb.py", line 44, in _render

return super(IrQWeb, self)._render(template, values=values, **options)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 55, in _render

result = super(IrQWeb, self)._render(id_or_xml_id, values=values, **context)

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 258, in _render

self.compile(template, options)(self, body.append, values or {})

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 333, in _compiled_fn

raise e

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn

return compiled(self, append, new, options, log)

File "", line 1, in template_web_minimal_layout_2142

File "", line 2, in _get_asset_nodes

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 294, in _get_asset_nodes

files, remains = self._get_asset_content(xmlid, options)

File "", line 2, in _get_asset_content

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 324, in _get_asset_content

template = IrQweb._render(xmlid, {"get_modules_order": get_modules_order})

File "/home/odoo/src/enterprise/web_studio/models/ir_qweb.py", line 44, in _render

return super(IrQWeb, self)._render(template, values=values, **options)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 55, in _render

result = super(IrQWeb, self)._render(id_or_xml_id, values=values, **context)

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 258, in _render

self.compile(template, options)(self, body.append, values or {})

File "", line 2, in compile

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 110, in compile

return super(IrQWeb, self).compile(id_or_xml_id, options=options)

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 275, in compile

element, document = self.get_template(template, options)

File "/home/odoo/src/enterprise/web_studio/models/ir_qweb.py", line 22, in get_template

element, document = super(IrQWeb, self).get_template(template, options)

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 363, in get_template

raise QWebException("load could not load template", e, path, name=template)

odoo.addons.base.models.qweb.QWebException: View 'web.report_assets_pdf' in website None not found

Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', 'en_US', True, False, '1', False, False, False, (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', 'en_US', (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.qweb', , 'web.report_assets_pdf', ('en_US', False, None, False, False, None, None))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup

r = d[key]

File "/home/odoo/src/odoo/odoo/tools/func.py", line 71, in wrapper

return func(self, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__

a = self.d[obj]

KeyError: ('ir.ui.view', , 2, True, 'web.report_assets_pdf', (None,))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 357, in get_template

document = options.get('load', self._load)(template, options)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 118, in _load

view_id = self.env['ir.ui.view'].get_view_id(name)

File "", line 2, in get_view_id

File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 331, in get_view_id

raise ValueError('View %r in website %r not found' % (xml_id, self._context['website_id']))

ValueError: View 'web.report_assets_pdf' in website None not found



load could not load template

ValueError: View 'web.report_assets_pdf' in website None not found

Template: web.report_assets_pdf

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
WANT TO CREATE INVOICE MODULE IN SAME ACCOUNTING
billing
Imagine profil
Imagine profil
2
iun. 24
2197
Warning on invoices does not work the same way than warnings on the sales order Rezolvat
billing
Imagine profil
Imagine profil
Imagine profil
2
mai 24
5880
How to create a report with a custom chart and use the chart in the QWEB report?
qweb-report
Imagine profil
0
ian. 24
2273
Curious to know how the same variable show different values under the same loop in Qweb.
qweb-report
Imagine profil
0
ian. 24
1959
Error al imprimir un Qweb (espacio en blanco al principio de la hoja)
qweb-report
Imagine profil
0
feb. 22
2966
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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