تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
396 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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!

الصورة الرمزية
إهمال
الكاتب

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 23
1413
1
مايو 25
3334
0
سبتمبر 24
1698
1
أغسطس 24
9894
0
سبتمبر 23
1591