跳至内容
菜单
此问题已终结
1 回复
1871 查看

 

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
3351
0
6月 23
2446
0
12月 22
2648
0
8月 21
2765
1
7月 25
1701