コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2197 ビュー

Hi,

how can I change the font size for the information on the payment by card on the receipt?


ODOO 17 CE on windows 10 Pro

POSBOX with epson TM20II printer
!!!! The information for card holder are printed very small on receipt !!!!

local host


thanks for your help

/

アバター
破棄
著作者 最善の回答

I just found the solution in this forum. thanks

Create a file for the following path: module_name/static/src/css/pos.cssunder the pos.css file - 

pos-product-line {

    font-size: 14px;

}


You can also use t-style tag in your template to add the css


Copy codet-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">

    t-style="{'font-size':'14px'}">

        expr="//div[@class='pos-product-line']" position="attributes">

            name="style" />

       

  

It's important to note that this will change the font size of all product lines in the receipt, if you want to target a specific product line you need to use a more specific CSS selector


Hope it helps


アバター
破棄
関連投稿 返信 ビュー 活動
0
6月 23
2229
1
5月 16
3308
3
11月 24
1454
0
8月 22
2409
2
12月 19
3764