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

hello, i'ld like to make report base on my quote (sale.order) - in my parameters i configure 3 taxes : 1= tva,  2= bic and 3 = taxes( group of tva and bic). in my quote (column taxes) i select taxes between tva-bic-taxes

how can i recover  tva and bic amount on my report.

i get look to this function: _get_tax_amount_by_group(self)... but i don't know how to use it corectly.

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

I do not understand you at all but I think you can create three computed fields to accumulate in them the amount of each tax.

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

this is the best method to calculate the taxes. if you have final value and tax percentage you can calculate the related tax potions using computed function.