I have tried adding to RML code
<barcode x="5 cm" y="17" code="Code128><123456></barcode>
But it did not work. The idea is to convert the invoice number to a barcode. Do I need to do/add something else?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have tried adding to RML code
<barcode x="5 cm" y="17" code="Code128><123456></barcode>
But it did not work. The idea is to convert the invoice number to a barcode. Do I need to do/add something else?
Hello Leo,
Try This :-
<barCode code="code128" quiet="9" barWidth="2.00" fontSize="350" alignment="CENTER">[[ o.number]]</barCode>
Try This :-
<barcode x="1cm" y="1cm" code="code128">[[ o.number]</barcode>
Hope it is works for you.
Thanks,
Thanks for your help! I tried again with the command you wrote, but it still shows nothing. Do I need to add something else?
See my updated answer. It works fine for me. Hope It also works for you. Thanks,
This works for me
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.number, 600, 100)" style="width:300px;height:50px"/>
(Odoo version 10.0)
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 15
|
3585 | ||
|
2
thg 8 15
|
9479 | ||
|
0
thg 3 15
|
3704 | ||
|
3
thg 3 15
|
4983 | ||
|
2
thg 3 15
|
9139 |
How to access the RML code of the invoice?