Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1598 Lượt xem

Hi there, 

I enabled LOT/SERIAL NUMBER. 

And when I tried to print picking operations report, the LOT/SERIAL NUMBER field show me a barcode. 

I just need the number, how can I stop print the barcode out? Thanks. 

Ảnh đại diện
Huỷ bỏ

Hello,

You have to remove the barcode printing code from the report template.

Câu trả lời hay nhất

You can inherit the picking operation template and replace it with the below code.

Please find the code from the comment 

Ảnh đại diện
Huỷ bỏ

<xpath expr="//td[@t-if='has_serial_number']" position="replace">
<td class=" text-center h6" t-if="has_serial_number">
<span t-esc=" ml.lot_id.name or ml.lot_name"/>
</td>
</xpath>

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1296
1
thg 9 22
4337
0
thg 12 24
2062
1
thg 6 25
1830
3
thg 7 25
3437