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

report.external_layout lost unable to print quotation/invoices Odoo 8

Odoberať

Get notified when there's activity on this post

This question has been flagged
invoiceprintreportquotationodooV8
1 Odpoveď
4907 Zobrazenia
Avatar
José Carlos

Hello,


I am having an issue with Odoo 8, When I try to print a quotation or an invoice I get this error everytime. Is it possible to know where I can check in the settings the report, and if it is a template that I can use to add in Odoo?


Error details:


Error "Template 'report.external_layout' not found" while evaluating

"translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')"


Qweb error message:

Could not evaluate expression "translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')"


Traceback

Traceback (most recent call last):

  File "/opt/odoo/addons/website/models/ir_http.py", line 204, in _handle_exception

    response = super(ir_http, self)._handle_exception(exception)

  File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception

    return request._handle_exception(exception)

  File "/opt/odoo/openerp/http.py", line 618, in _handle_exception

    return super(HttpRequest, self)._handle_exception(exception)

  File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 126, in _dispatch

    result = request.dispatch()

  File "/opt/odoo/openerp/http.py", line 636, in dispatch

    r = self._call_function(**self.params)

  File "/opt/odoo/openerp/http.py", line 295, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt/odoo/openerp/service/model.py", line 113, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt/odoo/openerp/http.py", line 292, in checked_call

    return self.endpoint(*a, **kw)

  File "/opt/odoo/openerp/http.py", line 755, in __call__

    return self.method(*args, **kw)

  File "/opt/odoo/openerp/http.py", line 388, in response_wrap

    response = f(*args, **kw)

  File "/opt/odoo/addons/report/controllers/main.py", line 62, in report_routes

    html = report_obj.get_html(cr, uid, docids, reportname, data=options_data, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/addons/report/models/report.py", line 171, in get_html

    return self.render(cr, uid, [], report.report_name, docargs, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/addons/report/models/report.py", line 147, in render

    return view_obj.render(cr, uid, template, values, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/addons/website/models/ir_ui_view.py", line 172, in render

    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1007, in render

    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 253, in render

    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node

    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element

    g_inner.append(self.render_node(current_node, qwebcontext))

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 292, in render_node

    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 426, in render_tag_call

    d[0] = self.render_element(element, template_attributes, generated_attributes, d)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element

    g_inner.append(self.render_node(current_node, qwebcontext))

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 292, in render_node

    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 416, in render_tag_foreach

    ru.append(self.render_element(element, template_attributes, generated_attributes, copy_qwebcontext))

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element

    g_inner.append(self.render_node(current_node, qwebcontext))

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 292, in render_node

    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 361, in render_tag_raw

    inner = self.eval_str(template_attributes["raw"], qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 205, in eval_str

    val = self.eval(expr, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 197, in eval

    raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 194, in eval

    return qwebcontext.safe_eval(expr)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 80, in safe_eval

    return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)

  File "/opt/odoo/openerp/tools/safe_eval.py", line 313, in safe_eval

    return eval(c, globals_dict, locals_dict)

  File "", line 1, in <module>

  File "/opt/odoo/addons/report/models/report.py", line 131, in translate_doc

    return view_obj.render(cr, uid, template, qcontext, context=ctx)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/addons/website/models/ir_ui_view.py", line 172, in render

    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1007, in render

    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 253, in render

    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node

    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element

    g_inner.append(self.render_node(current_node, qwebcontext))

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 292, in render_node

    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 435, in render_tag_call

    return self.render(cr, uid, template, d)

  File "/opt/odoo/openerp/api.py", line 237, in wrapper

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

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 253, in render

    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

  File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 190, in get_template

    raise QWebTemplateNotFound("Template %r not found" % name, template=origin_template)

QWebException: "Template 'report.external_layout' not found" while evaluating

"translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')"


Many thanks.

José Carlos

0
Avatar
Zrušiť
Avatar
Anup Chavda
Best Answer

It can be two reasons for this.

1. Either the record has been deleted and you're trying to access.

So you can directly check in the database whether it exists or not.

Apart from this please go to Settings/Technical/Parameters/System Parameters.

Do you have a parameter called web.base.url if not add this parameter as key=web.base.url and value=your ip:port for e.g. 10.42.0.3:8090


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
Translation not working for invoice report
invoice report odooV8
Avatar
Avatar
Avatar
5
jan 20
9056
Invoice Report Multiple Journal Line Print Error Solved
print report odooV8
Avatar
Avatar
Avatar
3
feb 19
4489
Strip string from a field with defined separator in invoice report Solved
invoice print custom report
Avatar
1
mar 22
3260
Multiple report on one button click
qweb print report odooV8
Avatar
Avatar
Avatar
Avatar
6
jan 20
8842
Issue in printing custom invoice report?
invoice print report odoo10
Avatar
Avatar
1
aug 17
6603
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