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
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Producție
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    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

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

Abonare

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

Această întrebare a fost marcată
invoiceprintreportquotationodooV8
1 Răspunde
4850 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Anup Chavda
Cel mai bun răspuns

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
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
Translation not working for invoice report
invoice report odooV8
Imagine profil
Imagine profil
Imagine profil
5
ian. 20
8995
Invoice Report Multiple Journal Line Print Error Rezolvat
print report odooV8
Imagine profil
Imagine profil
Imagine profil
3
feb. 19
4419
Strip string from a field with defined separator in invoice report Rezolvat
invoice print custom report
Imagine profil
1
mar. 22
3209
Multiple report on one button click
qweb print report odooV8
Imagine profil
Imagine profil
Imagine profil
Imagine profil
6
ian. 20
8739
Issue in printing custom invoice report?
invoice print report odoo10
Imagine profil
Imagine profil
1
aug. 17
6526
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