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

Hi folks,

I have split the name into to such as Name and Surname in which Surname field is mandatory.

But when I print invoice it fetches only Surmane (Mandaotry field) not the name.

such as

Mr. Dean Jones. but  when I prompt it to print option is shows only

Mr. Jones

Please help

Amol

 

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

Amol,

You would need to go to the source file of the report of invoice(account/report/account_print_invoice.rml) and do the changes like:

[[ (o.partner_id and o.partner_id.firstname) or '' ]][[ (o.partner_id and o.partner_id.surname) or '' ]]

The bold text should be your right field name.

This should help.

Thanks.

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

Thanks for Reply

 

Amol :-)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 18
5252
1
thg 3 16
5005
0
thg 3 15
3740
3
thg 3 15
8602
0
thg 3 15
4093