Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1867 Vistas

 

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: 


Avatar
Descartar
Mejor respuesta

You can access it like this

invoice_line_id.product_id.barcode

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jun 21
3348
0
jun 23
2445
0
dic 22
2648
0
ago 21
2765
1
jul 25
1701