Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
456 Ansichten

Hello,

In my Odoo 18 POS, I want to customize the receipt so that:

  • Only products of type "combo" are displayed.
  • The individual items included in the combo are not listed separately.
  • The displayed price is the total price of the combo, not the sum of the child products.
  • The receipt layout remains the default Odoo POS layout.
  • The order date should be displayed, not just the payment timestamp.

I have tried overriding OrderReceipt using a CustomOrderReceipt component, but I encounter errors such as OwlError or Cannot read properties of undefined when filtering lines or accessing paymentlines.

I am looking for an approach or working example to:

  • Filter order lines to show only combos.
  • Display the total price of the combo.
  • Show the order date.
  • Avoid Owl errors caused by missing data (e.g., payment_method undefined).

Any advice or working examples would be greatly appreciated.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 23
2360
0
Juli 22
1880
1
Sept. 25
394
2
Aug. 25
3275
1
Juli 25
1460