Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
1356 มุมมอง

 i want to add lot.ref to OrderReceipt

THX

อวตาร
ละทิ้ง

Hi Abdallah
I updated the title of your question to be more complaint
I advise you also to give some more information and the odoo version you are using, otherwise you will not be guaranteed to get answers or support from the community as odooers who reading your question cannot guess what you are looking for

คำตอบที่ดีที่สุด

Hi Abdallah


That should be in  covered in standrad odoo


But depending on your usecase (which is not clear in your question) there are some apps in the appstore that cover your case 

here and example
https://apps.odoo.com/apps/modules/15.0/mai_pos_lotnumer_selection


Otherwise you will may need to create a custom module


In this case you have ti extend the report

<t t-name="OrderLinesReceipt" owl="1">
.....
<t t-if="line.pack_lot_lines">
<div class="pos-receipt-left-padding">
<ul>
<t t-foreach="line.pack_lot_lines" t-as="lot" t-key="lot.cid">
<li>
<t t-if="lot.order_line.product.tracking == 'lot'">
Lot Number <t t-esc="lot.lot_name"/> <!- you can add here your lot.reference ->
</t>
<t t-else="">
SN <t t-esc="lot.lot_name"/>
</t>
</li>
</t>
</ul>
</div>
</t>



อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

 i mean  Internal Reference of lot



อวตาร
ละทิ้ง

I have updated my answer to how you can extend the pos receipe report
you will need to customize it

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 25
1565
1
ส.ค. 24
1466
0
มิ.ย. 24
1326
0
มิ.ย. 23
2152
1
พ.ค. 16
3197