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

 

Adding barcode field in Invoice report

i cannot access to product barcode inside my report_invoice_document 

i get this error

AttributeError: 'account.move.line' object has no attribute 'barcode'
Template: account.report_invoice_document
Path: /t/t/div[2]/table/tbody/t[3]/tr/t[1]/td[5]/span
Node: 


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can access it like this

invoice_line_id.product_id.barcode

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 21
3352
0
มิ.ย. 23
2449
0
ธ.ค. 22
2648
0
ส.ค. 21
2766
1
ก.ค. 25
1705