Hi all
Odoo pos product list sequence ordered alphabetically, but not working with product variants.
I saw a related post https://www.odoo.com/forum/help-1/how-to-assign-product-order-display-in-pos-128544
Seems all paid modules about custom sequence, but odoo default alphabetically sequence not working correctly.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hi all
i would like to share how i fixed the issue with small customization.
In custom code override "point_of_sale.ProductsWidget" (file ref:odoo15/addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductsWidget.js)
return list.sort(function (a, b) { return a.display_name.localeCompare(b.display_name) });
To
return list.sort(function (a, b) { return a.display_name.localeCompare(b.display_name, undefined, {numeric: true,sensitivity: 'base'}) });
This will make the product variant sequence fine in pos.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lip 24
|
2135 | ||
|
0
sty 23
|
9 | ||
|
0
lis 22
|
2558 | ||
|
1
lis 22
|
2269 | ||
|
2
lip 22
|
2014 |