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









help me with the discount code please

Ảnh đại diện
Huỷ bỏ

Please try to explain in detail what kind of help you are expecting from the community.

Câu trả lời hay nhất

Hi,
Either you can add a computed field in the account.move model to compute the Total discount of the order and then use that field in the report. 

Or inside the Qweb template on iteration of the move_line calculate the given discount of a variable and use this to print the total amount.



Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 24
1229
0
thg 7 24
1527
1
thg 6 24
1567
1
thg 5 24
1728
3
thg 5 24
1975