To save paper I want the company logo part not to be shown on the POS receipts, is there a way to eliminate that part and not show it?
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
tried the answer by cybrosys but it results in an error when trying to install the module. I'm on V.18 where would be to correct place to look for the correct formatting for this version?
<odoo>
<data>
<t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
<xpath expr="//t[@t-if='receipt.company.logo']" position="replace">
</xpath>
</t>
</data>
</odoo>
Hi,
You can remove the logo from POS. You need to inherit the template with id "OrderReceipt" and remove the company logo using xpath.
Eg:
<t t-name="OrderReceipt" t-inherit="point_of_sale.
<xpath expr="//t[@t-if='receipt.
</xpath>
</t>
Hope it helps
How to hide the company name under the logo i tried this
<xpath expr="//t[@t-if='receipt.company.name']" position="replace">
</xpath>
but it give error
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Hello Alex,
Logo coming from company logo image, here you need to customize the OrderReceipt code then it will be possible.
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
lut 25
|
2040 | ||
|
1
mar 24
|
2122 | ||
|
2
cze 24
|
3150 | ||
|
1
lut 24
|
1759 | ||
|
1
lut 24
|
2246 |