Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2032 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
3525
0
thg 6 23
2695
0
thg 12 22
2833
0
thg 8 21
2983
2
thg 9 25
347