Skip to Content
Menu
This question has been flagged
1 Atsakyti
1902 Rodiniai

 

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: 


Portretas
Atmesti
Best Answer

You can access it like this

invoice_line_id.product_id.barcode

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 21
3383
0
birž. 23
2501
0
gruod. 22
2693
0
rugp. 21
2816
1
liep. 25
1778