Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2301 Widoki

I am testing upgrade in odoo 18.0 and 18.1

The unit price is missing in product selection screen. How to get it back.


In 18.1, the unit price is even missing in the POS item list on the left panel and also missing in the receipt.


Please can we get back to the odoo 17 UI where unit price is displayed.

Unit price is useful for me when most of my items are not barcoded.


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

To show the product price just under the product name, you need to follow the code below:


1. Inherit  point_of_sale.ProductCard component

File:

your_module/static/src/app/generic_components/product_card/product_card.xml

<t t-inherit="point_of_sale.ProductCard" t-inherit-mode="extension"> <xpath expr="//div[contains(@class, 'product-name')]" position="after"> <div t-if="props.price" t-out="props.price" class="text-muted text-sm font-semibold" /> </xpath> </t>


This will display the product's unit price under the product name on the POS grid card.

Hope it helps

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 25
2197
0
mar 24
2610
2
lis 23
4401
1
paź 23
2977
0
lis 23
2221