İç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

wkhtmltopdf dont want to do proper layout with invoice Ubuntu 18.04 odoo 13.0

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
Odoo13.0wkHtmltoPdfubuntu18.04
3 Cevaplar
8575 Görünümler
Avatar
Paulius Prismantas

Hello,


wkhtmltopdf is working but working wrong. When I try to create sample invoice, it creates invoice, but with wrong layout, no fonts, colors, just text.  As a result whencustomer  pressing "pay now" with a transfer, site crashes with internal error. 


This happend after i turned on ufw.  

Tried to disabled it, but nothing changed.  


I tried:

  1. Remove wkhtmltopdf  and packages  and install again.

sudo apt-get remove --auto-remove wkhtmltox 
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb 
sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo apt -f install

      2.    Remove wkhtmltopdf, packages and settings  and install again.

sudo apt-get purge --auto-remove wkhtmltox 
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb sudo apt -f install     

After instalation seems everything fine:

wkhtmltopdf 0.12.5 (with patched qt)

This is link to the sample invoice  https://www.dropbox.com/s/hidoai3kem9xaq6/Capture.JPG?dl=0 


Hope for solution.


0
Avatar
Vazgeç
Jérémy Kersten (jke)

are you sure about the configuration of your base url?

Seems like you don't have your assets loaded.

Do you see the requests in your logs ?

Paulius Prismantas
Üretici

1. Not sure, any links where to look for right info for configuration?

this is log file hope this is usefull

2020-04-10 10:06:51,901 922 INFO ? odoo: Odoo version 13.0-20200410

2020-04-10 10:06:51,902 922 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf

2020-04-10 10:06:51,902 922 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/.local/share/Odoo/addons/13.0']

2020-04-10 10:06:51,902 922 INFO ? odoo: database: odoo@default:default

2020-04-10 10:06:51,991 922 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

2020-04-10 10:06:52,063 922 WARNING ? odoo.addons.base.models.res_currency: The num2words python library is not installed, amount-to-text features won't be fully available.

2020-04-10 10:06:52,084 922 INFO ? odoo.service.server: HTTP service (werkzeug) running on ipsy.l.dedikuoti.lt:8069

2020-04-10 10:06:52,544 922 INFO Alfametal odoo.modules.loading: loading 1 modules...

2020-04-10 10:06:52,557 922 INFO ? odoo.http: HTTP Configuring static files

2020-04-10 10:06:52,560 922 INFO Alfametal odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries

2020-04-10 10:06:52,606 922 INFO Alfametal odoo.modules.loading: loading 131 modules...

2020-04-10 10:06:54,034 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_partnerledger has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_general_ledger has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_trialbalance has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_tax has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_agedpartnerbalance has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_journal has no _description

2020-04-10 10:06:54,035 922 WARNING Alfametal odoo.models: The model report.accounting_pdf_reports.report_financial has no _description

2020-04-10 10:06:54,460 922 INFO ? werkzeug: 84.15.189.8 - - [10/Apr/2020 10:06:54] "GET /web/static/src/img/spin.png HTTP/1.1" 304 - - - -

2020-04-10 10:06:55,162 922 INFO Alfametal odoo.modules.loading: 131 modules loaded in 2.55s, 0 queries

2020-04-10 10:06:55,778 922 WARNING Alfametal odoo.fields: Field crossovered.budget.user_id: parameter 'oldname' is not longer supported; use an upgrade script instead.

2020-04-10 10:06:56,009 922 INFO Alfametal odoo.modules.loading: Modules loaded.

2020-04-10 10:06:56,022 922 INFO Alfametal odoo.addons.base.models.ir_http: Generating routing map for key 1

2020-04-10 10:06:56,031 922 INFO Alfametal odoo.addons.base.models.ir_http: Generating routing map for key 1

2020-04-10 10:06:56,236 922 INFO Alfametal werkzeug: 84.15.189.8 - - [10/Apr/2020 10:06:56] "POST /base_setup/data HTTP/1.1" 200 - 9 0.010 3.668

2020-04-10 10:06:56,239 922 INFO Alfametal werkzeug: 84.15.189.8 - - [10/Apr/2020 10:06:56] "POST /base_setup/demo_active HTTP/1.1" 200 - 20 0.035 3.677

2020-04-10 10:06:56,796 922 INFO Alfametal werkzeug: 84.15.189.8 - - [10/Apr/2020 10:06:56] "POST /calendar/notify HTTP/1.1" 200 - 3 0.003 0.005

Avatar
Paulius Prismantas
Üretici En İyi Yanıt

Solved the problem.  

Main problem was with header and footer it fixed then i went to:

odoo, turned on developer mode->search bar-> system parameters  -> create new -> name of the parameter:  report.url   and description is  your ip address  : and port. (usualy 8069), or just use this : http://127.0.0.1:8069    that should help.  Thanks.

link to answer :     https://stackoverflow.com/questions/47055149/why-my-pdf-report-is-not-taking-the-css-styles-well-in-odoo 

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 to get the exit-code of a failed systemd service?
Odoo13.0 ubuntu18.04 python3.6
Avatar
0
Ağu 20
7605
Odoo doesn't work after upgrading ubuntu from 18.04 to 20.04
odoo Odoo13.0 ubuntu18.04 ubuntu20.04
Avatar
Avatar
1
Nis 23
4246
Odoo 13. Don't close a wizard when Click a button Çözüldü
Odoo13.0
Avatar
Avatar
Avatar
Avatar
4
May 24
14331
Permission error while user printing excel sheet report in odoo 13 Çözüldü
Odoo13.0
Avatar
Avatar
1
Nis 24
4470
One2many field edited from Transient Model cannot be made empty.
Odoo13.0
Avatar
0
Kas 23
3160
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