Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    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
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & 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
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

WKHTMLTOPDF in OpenSUSE

Subscribe

Get notified when there's activity on this post

This question has been flagged
reportingnoobwkhtml2pdf
3 Replies
7401 Views
Avatar
Javier Batres Velásquez

Hello I am starting with Odoo on the development area. I was folloeing the tutorial "build a module" and right now I am trying to print a report. ( https://www.odoo.com/documentation/8.0/howtos/backend.html#reporting ) I have copied the XML nad set the vieew on the __openerp__.py file but when i Execute the report on the application I get the errors:

 

Traceback (most recent call last): File "/Datos/odoo/addons/report/controllers/main.py", line 121, in report_download response = self.report_routes(reportname, docids=docids, converter='pdf') File "/Datos/odoo/openerp/http.py", line 394, in response_wrap response = f(*args, **kw) File "/Datos/odoo/addons/report/controllers/main.py", line 65, in report_routes pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=options_data, context=context) File "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/odoo/addons/report/models/report.py", line 186, in get_pdf html = self.get_html(cr, uid, ids, report_name, data=data, context=context) File "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/odoo/addons/report/models/report.py", line 171, in get_html return self.render(cr, uid, [], report.report_name, docargs, context=context) File "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/odoo/addons/report/models/report.py", line 147, in render return view_obj.render(cr, uid, template, values, context=context) File "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/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 "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1014, in render return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context) File "/Datos/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/Datos/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 "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/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 "/Datos/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 "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/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 "/Datos/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 "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/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 "/Datos/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 "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element raise_qweb_exception(message="Could not render element %r" % element.tag, node=element, template=template) File "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 315, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/Datos/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 "/Datos/odoo/openerp/addons/base/ir/ir_qweb.py", line 473, in render_tag_field field = record._fields[field_name] QWebException: 'end_date'

 

I will be really happy and thanksfull if someone here can give me a hand

1
Avatar
Discard
Avatar
Javier Batres Velásquez
Author Best Answer

Gracias, te cuento que es en OpenSUSE 13.2 , lo que lo soluciono fue instalar la versión de publishing que se encuentra en la pagina de software.opensuse.org, con la opción de 1 install.

Al hacer esto lo reconocio con la versión 0.12.*

 

Muchas gracias Miguel.

 

Igualmente soy de Guate.

0
Avatar
Discard
Avatar
Jainik Patel
Best Answer

You Can Install WKHTMLTOPDF module throw synaptic Package Manager Or Vi Ubuntu Software Center Then Search Bar Type WKHTMLTOPDF and install the after reun your problem is sloved

0
Avatar
Discard
Avatar
Miguel Chuga
Best Answer

bajate http://wkhtmltopdf.org/downloads.html

agregar este repo http://download.opensuse.org/repositories/home:/derselbst/openSUSE_13.1/

e instalar

zypper install --type pattern devel_basis
zypper in xorg-x11 xorg-x11-server xorg-x11-essentials
zypper in libopenssl-devel

luego solo copias en wkhtmltopdf a /usr/bin/

pd. soy de Guate

 

 

 

0
Avatar
Discard
Javier Batres Velásquez
Author

Hola Miguel, perdona. Podrias darme tu correo solo para una consulta de los formatos contables en Guatemala. Gracias

OdooBot
miguelchuga@gmail.com

El 9 de marzo de 2015, 9:59, Javier Batres Velásquez <javierhabieru@gmail.com> escribió:

Hola Miguel, perdona. Podrias darme tu correo solo para una consulta de los formatos contables en Guatemala. Gracias

--
Javier Batres Velásquez
Sent by Odoo S.A. using Odoo about Forum Post WKHTMLTOPDF in OpenSUSE (73684)

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
odoo 8.0 purchase order quantity problem
reporting purchase_order wkhtml2pdf odoo8.0
Avatar
0
Jan 16
3593
GREEN SAVINGS REPORT Solved
reporting
Avatar
Avatar
1
Feb 26
522
How to Customize Profit & Loss Report Grouping (Less Operating Expenses) Solved
reporting
Avatar
Avatar
1
Dec 25
981
Product label with QR code
reporting
Avatar
Avatar
1
Nov 25
979
Canned reports in Odoo 17 for all the modules
reporting
Avatar
Avatar
1
Nov 24
3054
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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