İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
101 Görünümler

On the receipts for a point of sale order, it used to look as shown on the documentation for how the receipts should look. https://www.odoo.com/documentation/master/applications/sales/point_of_sale/receipts_invoices.html But now, where on this example one we used to see the 601 (order number) it is now not there. I cannot find any setting for that or why it might've left the receipt other than a change in odoo itself. is this the case or am I missing something?


Edit: the number I am referring to is this one here circled in red just for the sake of clarity

Avatar
Vazgeç
En İyi Yanıt

Hi Zach,

That number on the POS receipt is the Order Reference (e.g. POS/601). If it’s missing, it’s usually because of one of these reasons:

  1. Studio/Receipt Template customization – if the receipt template was edited in Studio or Website Editor, the field may have been removed. Check in Point of Sale → Configuration → Settings → Receipt → Customize Receipt.
  2. POS Settings – make sure “Show Order Reference” (sometimes labeled “Show Order ID on receipt”) is enabled. In some versions it’s under POS → Configuration → Point of Sale → Receipts.
  3. Version changes – in Odoo 17+ the default QWeb template for receipts was simplified, and the order number isn’t always shown unless you re-enable it. You can bring it back by editing the QWeb template pos_ticket and adding:

    <t t-if="order.name"> <div>Order: <t t-esc="order.name"/></div> </t>

So if it suddenly disappeared, either a config reset hid it, or you’re on a newer version where you need to re-add it.

Hope that helps!

Avatar
Vazgeç
Üretici

I would like to avoid touching the HTML directly if possible with #3 although I think I did find that template. However, for suggestions 1 & 2 those pathings to settings did not lead anywhere. I cannot find what you were referring to there. But thank you for the response.

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 23
1303
1
May 25
3092
0
Eyl 24
1514
1
Ağu 24
9700
0
Eyl 23
1429