Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6448 Weergaven

Hello,

I need to print label as full scale using paperformat with custom mode, i have created paper format and it's working fine. now, the problem is  the label is printing standard size but i need this dynamic same like paper format width and height.

can anyone show me a way.

Thank you.

Avatar
Annuleer
Beste antwoord

This example can help you:

<div class="page" t-attf-style="background-image:url('/xxx/static/img/test.jpg'); background-size:195mm 282mm; width:195mm; height:282mm;">
....
</div>

or this:

<style>
    .Your_class > img { height: 282px; width: 195px; }
</style>
<field name="your_picture" widget="image" class="Your_class"/>



Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jul. 25
1464
4
okt. 20
10190
7
jul. 19
4353
0
mrt. 19
2663
0
mrt. 15
2822