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

Modifying Invoice Templates & Creating Multiple Invoice Templates in Odoo v8

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
8 Cevaplar
28618 Görünümler
Avatar
David Birchmier

I am attempting to learn how to modify invoice templates in Odoo v8. I have searched these forums and read a lot of different information but I am unclear as to the proper procedure in Odoo v8. 

I'll start off with what I have already tried:

  1. Using the HTML WYSIWIG editor to modify invoices
    I found information in other posts about modifying invoices this way.
    Here are the steps I followed:
        #1 Go to Settings > Reports > Reports > Invoices and change the Report Type from PDF to HTML
        #2 Go to Accounting > Customer Invoices > Open an Invoice > Print > "Invoices" 
        #3 A  new pop-up window appears. This window does have the HTML WYSIWIG editor enabled. 
        #4 If I make modifications here and change things, then AFTER hitting SAVE it does NOT make these changes permanent.           I.e. I I open another invoice and select Print > Invoices again then I see the original default template. 

    QUESTION #1: How do you make changes you make using the WYSIWIG editor actually save permanently to the invoice template?
    EDIT: I was wrong. This is actually working just fine. I was trying to modify the HEADER/FOOTER areas which you can NOT edit via the HTML Editor while viewing an invoice. 
     
  2. Edit QWeb Views
    I also found some information in the forums about modifying invoices in this way. 
    Here are the steps I followed:
       #1 Go to Settings > Reports > Reports Invoices
       #2 Select "Search Associated QWeb Views"
       #3 Click on "report_invoice_document"
       #4 Modify the HTML layout
       #5 After modifying this layout I was successful in seeing my changes outputted to the invoice template. However, through modifying the invoice template in this way I was NOT able to edit the invoice header. I assume I must modify this elsewhere and will add details about that in the next item. 

    QUESTION #2: Where do I modify the header that effects Invoices? 
    EDIT: I have answered this in my reply/answer below. 

     
  3. Modifying the Invoice Header
    Since I was unable to modify the invoice header in the QWeb Views "report_invoice_document" I searched for where to modify it. 
    These are the steps I followed:
       #1 Settings > Companies > Companies > "Company Name" > Report Configuration (tab) 
       #2 I modified the HTML for RML header. 
       #3 When I previewed it within the "Report Configuration Tab" it looked CORRECT. 
       #4 HOWEVER, these header modifications did NOT take effect in the actual invoice. 

    QUESTION #3: Which of these two methods (QWeb View vs. WYSIWIG) is the proper way to edit invoices in Odoo? Or, is there another, better way to do it?
    EDIT: It is correct to use either the QWeb View -or- the WYSIWIG mode. They both effect each other. I found the QWebView/HTML Editing to be the only option to get the results I wanted. 
     
  4. Multiple Invoice Templates
    I would like to have two different invoice templates that appear when selecting "Print" from the drop down menu.  I am not sure the correct way to do this. I did try duplicating the "Invoices" item under Settings > Reports. The new item did not appear under the "Print" menu so I assume I am not doing this correctly. 

    QUESTION #4: What are the proper steps to create multiple invoice templates that can be utlized via the "Print" menu? 
5
Avatar
Vazgeç
Avatar
David Birchmier
Üretici En İyi Yanıt

I have answered a few of these questions myself. 

ANSWER TO #3: Modifying the Invoice Header  

In v8 (Presumably because it now uses QWeb Views) you must edit the invoice HEADER via: Settings > Technical > User Interface > Views > external_layout_header

The FOOTER can be edited via: Settings > Technical > User Interface > Views > external_layout_footer

ANSWER TO #4: Multiple Invoice Templates

I created a step-by-step guide with screenshots to help save others time.

Here's the guide to Create Multiple Invoice Templates in Odoo v8:
http://www.askmpa.com/creating-multiple-invoice-templates-in-odoo-v8/

8
Avatar
Vazgeç
Tobias Frankl

Thank You. Worked perfectly!

Dale

Thank you David!

Fongoh Tayong

David, your method for multiple report works perfectly. My main worry is this is will not be tied to a module am developing, that is, if i want to do multiple reports on the deployment environment, i will have to follow same process that i did while developing on my local machine. Is there a way to use code such that the template can be automatically loaded so that i can have multiple xml corresponding to multiple report formats? New to odoo, using v9

Avatar
aci aisha
En İyi Yanıt

I have answered a few of these questions myself. 

ANSWER TO #3: Modifying the Invoice Header  

In v8 (Presumably because it now uses QWeb Views) you must edit the invoice HEADER via: Settings > Technical > User Interface > Views > external_layout_header

The FOOTER can be edited via: Settings > Technical > User Interface > Views > external_layout_footer

ANSWER TO #4: Multiple Invoice Templates

I created a step-by-step guide with screenshots to help save others time.

Here's the guide to Create Multiple Invoice Templates in Odoo v8:
http://www.askmpa.com/creating-multiple-invoice-templates-in-odoo-v8/

1
Avatar
Vazgeç
Avatar
P.V.Anthony
En İyi Yanıt

Thank you all for sharing the knowledge. The answers above have been very useful and saved much time. More time for the family.

0
Avatar
Vazgeç
Avatar
Martin
En İyi Yanıt

Hi David,

thanks for that guide, helped a lot. I followed guide in answer #4 and everything works OK, only problem I have is that I cannot print invoice with new template as PDF. When I print to HTML (popup window), everything is OK, but when I change report type to PDF, invoice is printed using default template no matter what template I selected by Print button. Have you tried to print template created with your guide to PDF, does it work for you?

EDIT: Solved by unchecking Reload from Attachement checkbox in Report settings (first screen of the guide).

0
Avatar
Vazgeç
David Birchmier
Üretici

Good job Martin - You got it!

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