Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2048 Переглядів

 

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
3538
0
черв. 23
2706
0
груд. 22
2858
0
серп. 21
2994
2
вер. 25
384