Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1899 Lượt xem

 

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: 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You can access it like this

invoice_line_id.product_id.barcode

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 21
3382
0
thg 6 23
2497
0
thg 12 22
2681
0
thg 8 21
2811
1
thg 7 25
1768