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

We have decided to use Mass Label Printing Module by Serpent and have attempted to print a shipping label that will contain both invoice address and delivery address, however, it only prints out res.partner id on the form:

Example:
Invoice Address: res.partner:-(4XXX,)

Delivery Address: res.partner:-(4XXX,)

 Here is the line of code that print that statement:

elif field.field_id.name:
string = field.field_id.field_description
value = getattr(datas, field.field_id.name)


Where it only print out field.field_id.name

Any advice or tips on how to use this Mass Label Printing Module is appreciated.
Thanks in advance

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 22
1845
0
thg 11 19
5008
0
thg 3 25
829
1
thg 12 24
823
1
thg 3 25
5318