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

In the pdf, "Tax" column gives the tax name (for me it is "TVA collectée (vente) 19.6%" or "TVA collectée (vente) 5.5%")

I would like it to be just "19.6%" or "5.5%" so I put all the tax code (under the tax name in the tax view) with this kind of values.

In the "sale/report/sale_order.rml" file, I found on line 248:


[[ ', '.join(map(lambda x: x.name, line.tax_id)) ]]
 

I guess it is a script that go and get the name (since changing to tax_name, tax_code_id and so on did not do anything)

What could be a solution and/or where to find the script?

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

In the "sale/report/sale_order.rml" file, original on line 248:

[[ ', '.join(map(lambda x: x.name, line.tax_id)) ]]

Modify to

[[ ', '.join(map(lambda x: x.description, line.tax_id)) ]]

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

Edit at: Accounting --> Taxes --> Taxes --> Tax Name

Ảnh đại diện
Huỷ bỏ
Tác giả

Yes it is a way to do but in order to know what tax it is (collected by example, going to a specific account) I would like to keep this information. Maybe I will just switch "name" and "code"

@pinky do you have solution for invoiced tax and colleected tax ?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
639
1
thg 8 25
1417
1
thg 6 24
2335
0
thg 3 16
3696
2
thg 9 15
7971