Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

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

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

Document Layout Error | Web Report Assets pdf error

Subscribe

Get notified when there's activity on this post

This question has been flagged
billingreceipt printQWebTemplateNotFoundposreceiptqweb-report
4724 Views
Avatar
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
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
WANT TO CREATE INVOICE MODULE IN SAME ACCOUNTING
billing
Avatar
Avatar
2
जून 24
2192
Warning on invoices does not work the same way than warnings on the sales order Solved
billing
Avatar
Avatar
Avatar
2
मई 24
5875
How to create a report with a custom chart and use the chart in the QWEB report?
qweb-report
Avatar
0
जन॰ 24
2268
Curious to know how the same variable show different values under the same loop in Qweb.
qweb-report
Avatar
0
जन॰ 24
1957
Error al imprimir un Qweb (espacio en blanco al principio de la hoja)
qweb-report
Avatar
0
फ़र॰ 22
2966
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

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