跳至內容
選單
此問題已被標幟
1 回覆
1863 瀏覽次數

 

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 21
3347
0
6月 23
2445
0
12月 22
2648
0
8月 21
2763
1
7月 25
1701