تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2045 أدوات العرض

 

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
يونيو 21
3538
0
يونيو 23
2706
0
ديسمبر 22
2855
0
أغسطس 21
2994
2
سبتمبر 25
379