In the POS order receipt generated by the Odoo POS module, the receipt is currently aligned to the left. I would like to know how to centre-align this. Odoo developers, could you please provide an answer to this question? Thank you.
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
Dear Muhammad,
You can achieve this applying CSS style. Please add style=" margin-left: auto;margin-right: auto;" . If you need any adjustment please put values replacing auto and put percentage values like this margin-left: 1%;margin-right: 10%;.
If you need text align use style='text-align:center;'
Thank you
I applied this, and it was working before printing. However, after I print it, it automatically shifts to the left.
Please put this code inside your pos-receipt class
ex: <div class="pos-receipt" style="width: 100%;text-align:center">
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ść | |
---|---|---|---|---|
|
2
mar 15
|
8590 | ||
|
2
paź 22
|
2938 | ||
How to add new field to pos receipt
Rozwiązane
|
|
2
kwi 22
|
7547 | |
|
1
sie 25
|
569 | ||
|
1
lip 25
|
812 |