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

Set up WebKit Reporting in OpenERP 7, but still loading .rml Reports...

Odoberať

Get notified when there's activity on this post

This question has been flagged
rmlheaderwebkitmacowkhtml2pdf
1 Odpoveď
6647 Zobrazenia
Avatar
NSC

Dear Community,

can you explain me how OpenERP 7 can be still loading default .rml report templates after having set up WebKit? I have just read several documentation and I think I considered everything:

  • Installed wkhtml2pdf
  • entered webkit_path in technical settings
  • installed the following modules: base_headers_webkit, invoice_webkit, purchase_order_webkit
  • disabled reload from attachment option

I have just checked the reports service registration (Settings --> Actions --> Reports) and the report I want to test is indeed replaced with the webkit one. There is no clue left to it, but nevertheless, when pressing invoice print button, the system loads the default .rml template. What do I have to do else for having the system load the webkit maco replacements?

0
Avatar
Zrušiť
aharoen

Have you been create html template version of your report?

Jaakko Komulainen

Have you tried creating a new invoice or copy an existing invoice after you installed the new modules?

Avatar
NSC
Autor Best Answer

@aharoen: If I am honest, I do not know what you mean with your comment... I hope you can explain me...

I only set up the community's predefined webkit replacements for the reports I need. I expected that they are completely finished replacing the old .rml ones and that I can simply edit the .maco file to customize them. That's why I did not install them inside OpenERP's general addon directory, but in my own additional addon folder already containing other custom modules made by me.

I read several documentation what I have to do to get webkit running and I followed all steps. Maybe, there is little information missing which seems to go without saying, but I do not know about. I wonder how the system can still print the old .rml report, if all connection to it was replaced by webkit replacements...

Could this simply be a module update thing? - Yesterday, I downloaded some bzr branches to my additional addon folder (yes, this is entered in openerp config, too), but although having changed rights and owner of these branches, logged off my database, restarted openerp service, logged in again, updated all modules, I was not able to see them in module management to install them. I use Ubuntu 12.04. I think, openerp has got a real problem with its module update functionality: For example, I did some test overrides for some reporting services to replace the standard .rml files. These are inside my addon folder and only installed into one special database. When changing the database (I logged off this database and into another one), the system was searching for these replacing reports, although they were not installed into this database ??? I was not able to work with this new database, before having completely removed these services from my addon folder ???

@Jaakko Komulainen: For such kinds of tests I always duplicate a preconfigured template database with no data and special modules installed so far. So I first had to set up webkit and afterwards, I created a new test invoice, pressed the print button and the old .rml report appeared.

0
Avatar
Zrušiť
NSC
Autor

I found the reason myself: wkhtmltopdf is buggy for linux and it has not been maintained for a quite long time. Although release notes claim that no GUI components are required to successfully execute the lib, when executing it in shell, it tells that it can not find any GUI components. Installing GUI components on a server system - for what??? No, definitely not for me. Furthermore, webkit appears to be very troublesome when multipage reports are required. These two reasons brought me away from my wish to base my reporting on webkit.

NSC
Autor

I was doing some testing during the last days and decided for the following reporting solution - using Open Office Report Designer's conversion logic by hand:

  1. Download Open Office Report Designer module from OpenERP Apps Page and extract it somewhere to your client
  2. Download report (sxw file) you want to customize to your client (addons-Folder --> <module> --> report) (best is to put it here: base_report_designer/openerp_sxw2rml)
  3. Open downloaded sxw file with OpenOffice or LibreOffice.
  4. Now you can comfortably do your layout changes, insert additional fields, remove fields not desir
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
OpenERP Reports - How to reduce space between Company Header and Text Body Solved
rml header
Avatar
1
mar 23
9490
How to create dynamic header footer in webkit openerp
header webkit
Avatar
Avatar
1
mar 15
5287
RML Header adaptation and data field names
rml header
Avatar
0
mar 15
4244
Varying table alignment while using pto and pto_header in rml
rml header table
Avatar
Avatar
1
sep 16
4816
Odoo 7 get always wrong active_id in rml header
rml header odoo8
Avatar
0
nov 15
4454
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