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

How to change the POS Button Invoice print to an other report?

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
posqwebbuttonspoint_of_saleodoo9
3 Cevaplar
11111 Görünümler
Avatar
wizardz

I want to change the report behind this button:



Behind that button is the "point_of_sale.report_invoice".

Now I want to change that, that another report is printed out.

What is the best way to do that?


How can I add this to the invoice in pos ?


Thank you

0
Avatar
Vazgeç
Avatar
Jainesh Shah(Aktiv Software)
En İyi Yanıt

To replace default invoice report in POS, you need to extend "push_and_invoice_order" function of models.js file in point_of_sale and replace following code:

self.chrome.do_action('pos_custom_module.custom_report_id',{additional_context:{active_ids:order_server_id,}});


2
Avatar
Vazgeç
wizardz
Üretici

hello, thank you for your fast answer, when I change it to this with the name of my own report, the old invoice report is still printed out:

self.chrome.do_action('own_report',{additional_context:{active_ids:order_server_id,}});

Jainesh Shah(Aktiv Software)

Will you please check with new POS Session?

wizardz
Üretici

same problem...

Avatar
Niyas Raphy (Walnut Software Solutions)
En İyi Yanıt

Hi Wizards,

To change the default report into another one, you can make change in the original code or you can do it by a custom module,

if you are looking to change it by custom module then you can do it as follows, you can mention the new report name at

<field name="report_name">module_name.report_id</field>
<record id="point_of_sale.pos_invoice_report" model="ir.actions.report.xml">
<field name="name">Invoice</field>
<field name="model">pos.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">module_name.report_id</field>
</record>

if you are going to do it in original code, then point of sale -> views -> point_of_sale_report.xml then you can change the record in the id "pos_invoice_report" like this.

<record id="pos_invoice_report" model="ir.actions.report.xml">
<field name="name">Invoice</field>
<field name="model">pos.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">module_name.report_id</field>
</record>
1
Avatar
Vazgeç
wizardz
Üretici

hi, thank you for the fast answer.

when I try to change that to my own report, I get an error.

Is this because my report comes not from the point_of_sale module?:

In Odoo9 :

<report

id="pos_invoice_report"

string="Invoice"

model="pos.order"

report_type="qweb-pdf"

name="own_report"

file="own_report"

/>

Niyas Raphy (Walnut Software Solutions)

hi, what error you got ? you have to mention the report name as module_name.report_id

wizardz
Üretici

and what if the report doesn't come from a module, I made that directly in odoo xml reports?

Niyas Raphy (Walnut Software Solutions)

So you created the report from the user interface, to get the external id of that report you can activate the developer mode then , go to settings-> technical->reports -> reports , then select the report, then from the lady debug button (button in top menu bar near logged in user) select view meta data, on clicking it you will get the id of the report from XML ID, give this id

wizardz
Üretici

yes but my problem is, that I don't have any xml ID

Niyas Raphy (Walnut Software Solutions)

Did you checked the way i have mentioned above to get XML ID?

wizardz
Üretici

the problem is that this report doesn't have any xml id , because it's made with aeroo reports

Gersjan Nano

@Niyas I changed the report_name as you mentioned above but when I try to print the report from POS, a message is shown, saying that I should print the invoice from the backend. Any idea what may be causing this?

Gersjan Nano

@Niyas I forgot to mention, I am using odoo 12

Avatar
Itachi
En İyi Yanıt

hello sir how can i keep highlighted the invoice button in pos payment screen 

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
Rupee symbol problem
chrome pos point_of_sale odoo9
Avatar
0
Eki 20
3509
print pos receipt
pos qweb reporting point_of_sale
Avatar
0
Tem 15
3767
how to print POS order name as Barcode in receipt ?
pos ticket qweb barcode point_of_sale
Avatar
Avatar
1
Eyl 21
4704
css load bundle error 'point_of_sale.assets'
pos css point_of_sale odoo9 odoo9.0
Avatar
Avatar
1
Eyl 24
7533
Extend POS receipt. Append barcode with order id
pos qweb receipt posticket point_of_sale
Avatar
Avatar
1
Eyl 17
6849
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