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

In partner ledger report we have credit ,debit  and Balance 
with only two decimal 
How I can make it to take 8 decimals after???
Is that possible ?  

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

Hi,

You can inherit an account.partner.ledger.report.handler abstract model, we can use the _get_report_line_total  and _get_report_line_partners.

update the _get_aml_values function and you can add the changes here


this currency_table.precision that declared the precision value so in this function you can update your values


Hope it helps


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

I tried that but I don't have any changes
can u give me in code one example please
Thank u for your time

Tác giả

I think we should start from subtotal
how to make this field with 8 decimals ??

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 24
1636
1
thg 2 24
4038
0
thg 2 24
1938
0
thg 7 23
1920
1
thg 6 23
3086