İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Reporting with WebKit?

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
v6.1reporting
5 Cevaplar
21387 Görünümler
Avatar
Dale E. Moore

I'm getting the hint from lots of posts on the web that WebKit is the future of OpenERP reporting. Perhaps I've misunderstood that and I would appreciate any informed guidance you can provide.

I've struggled in a OpenERP 6.1.2 and Ubuntu 12.10 environment to get WebKit running with http://www.camptocamp.com/'s report_webkit and report_webkit_sample modules but am less than successful.

Running Accounting, Customer WebKit invoice seems a good place to start after installing c2c's modules, but; I get:

OpenERP Warning
Wkhtmltopdf library path is not set
Please install executable on your system (sudo apt-get install wkhtmltopdf) or download it from here: http://code.google.com/p/wkhtmltopdf/downloads/list and set the path in the ir.config_parameter with the webkit_path key.Minimal version is 0.9.9

Some research and "apt-get install wkhtmltopdf" seems to be the thing to do, but; I encounter a different issue:

OpenERP Warning
2
No such file or directory
(<type 'exceptions.IOError'>, IOError(2, 'No such file or directory'), <traceback object at 0xb57b216c>)

Google implies "apt-get remove wkhtmltopdf" then installing a more current wkhtmltopdf will fix that issue (https://bugs.launchpad.net/openobject-addons/+bug/942679/comments/16.)

tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
mv wkhtmltopdf-i386 /usr/local/bin/wkhtmltopdf
chmod +x /usr/local/bin/wkhtmltopdf

But I seem to be going around in circles:

OpenERP Warning
Wkhtmltopdf library path is not set
Please install executable on your system (sudo apt-get install wkhtmltopdf) or download it from here: http://code.google.com/p/wkhtmltopdf/downloads/list and set the path in the ir.config_parameter with the webkit_path key.Minimal version is 0.9.9

I'm even having problems accessing c2c's training movie http://files.me.com/nbessi/06n92k.mov. Their domain files.me.com resolves to https://www.icloud.com/ where I struggle with Apple to get access in my Linux environment because iCloud needs to be installed and functional for access. I give up and move down to Windows to find, I think, that Apple refuses access to gMail accounts; so, I move over to my Yahoo mail account, get a little further until iCloud reports I must have it enabled on an iPhone or OS X device before allowed in...

I'm thinking reporting might not be the thing for me, but; I'm hoping you set me straight, Dale

3
Avatar
Vazgeç
Avatar
Dale E. Moore
Üretici En İyi Yanıt

Thanks to all whom contributed comments and answers; though, none completely solved the issue. Here's what worked:

apt-get remove wkhtmltopdf 
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
mv wkhtmltopdf-i386 /usr/local/bin/wkhtmltopdf
chmod +x /usr/local/bin/wkhtmltopdf

Logged into your OpenERP DB go to: Settings -> Customization -> Low Level Objects -> System parameter, define a key named webkit_path and set the value to /usr/local/bin/wkhtmltopdf.

2
Avatar
Vazgeç
Avatar
Daniel Reis
En İyi Yanıt

You need to set the path for wkhtmltopdf in the Company settings:

image description

To find out what this path is in a unix box:

$ which wkhtmltopdf

In my case it prints:

/usr/bin/wkhtmltopdf
4
Avatar
Vazgeç
Dale E. Moore
Üretici

At Settings, Companies, Company, WebKit tab I have Images and Headers. Add images gets me to "Add: ir.header_img" where the camptocamp.logo is, and headers gets me to "Add: ir.header_webkit" where "Base Sample" is. Neither of these gets me (that I've found) to "Webkit Executable Path."

Andreas Tolstov

where are no such option in new webkit versions.

Avatar
Thibaut DIRLIK
En İyi Yanıt

In new webkit versions, you have to go to : Settings -> Customization -> Low Level Objects -> System parameter and define a key named webkit_path and set the full path of the executable in the value.

image description

3
Avatar
Vazgeç
Avatar
Andreas Tolstov
En İyi Yanıt

Look at this function. try to debug and find why it cant find wkhtmltopdf path.

def get_lib(self, cursor, uid):
    """Return the lib wkhtml path"""
    proxy = self.pool.get('ir.config_parameter')
    webkit_path = proxy.get_param(cursor, uid, 'webkit_path')

    if not webkit_path:
        try:
            defpath = os.environ.get('PATH', os.defpath).split(os.pathsep)
            if hasattr(sys, 'frozen'):
                defpath.append(os.getcwd())
                if tools.config['root_path']:
                    defpath.append(os.path.dirname(tools.config['root_path']))
            webkit_path = tools.which('wkhtmltopdf', path=os.pathsep.join(defpath))
        except IOError:
            webkit_path = None

    if webkit_path:
        return webkit_path

    raise except_osv(
                     _('Wkhtmltopdf library path is not set'),
                     _('Please install executable on your system' \
                     ' (sudo apt-get install wkhtmltopdf) or download it from here:' \
                     ' http://code.google.com/p/wkhtmltopdf/downloads/list and set the' \
                     ' path in the ir.config_parameter with the webkit_path key.' \
                     'Minimal version is 0.9.9')
                    )
2
Avatar
Vazgeç
Dale E. Moore
Üretici

Interesting approach @tolstoj; where did you get that code from?

Andreas Tolstov

webkit_report.py:75

Avatar
IvorJ
En İyi Yanıt

In Odoo v8....Ubuntu 14.04

sudo apt-get install wkhtmltopdf

 

Then follow advice from Thibaut above. However, its Settings-Parameter-System Parameters

0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
How do I remove a cell from a single row table?
v6.1 reporting
Avatar
Avatar
1
Mar 15
7282
how to add two values involved in a loop while creating a report?
v6.1 reporting
Avatar
Avatar
1
Mar 15
4868
Where are the rml files cached?
v6.1 reporting
Avatar
Avatar
Avatar
2
Mar 15
9192
is it possible to use more than one language while creating a report?
v6.1 reporting multilanguage
Avatar
Avatar
1
Mar 15
6047
Remove blockTable from empty filter
v6.1 openoffice reporting
Avatar
Avatar
1
Mar 15
6870
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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