Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3525 มุมมอง

Hi dears,

I need the numbers in the partner ledger report to be 3 digits but with no luck,

I set the account decimal accuracy 3 digits and in general ledger report is 3 digits with no issue, the issue only in partner ledger.

anyone can help, I tried to set t-options='{"widget": "float", "precision": 3}' but it nnot working 

อวตาร
ละทิ้ง

"Accounting Report" is not a question. I edited your post so the title was a question. Please consider using a question in the future so readers are not forced to open your post to find out what you are asking.

คำตอบที่ดีที่สุด

Hello Moh,

Could you try (replace line.price_unit with your field): 

<span t-esc="'%.3f'%(line.price_unit)"/>

I have had success using this in Odoo QWeb before, not specifically on the Partner Ledger report. Here is an example where I have placed 3 decimal places after the standard price_unit on an invoice. 

As long as your field in Odoo is at least 3 decimal places this should work. 

Thanks, 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 16
4508
0
ส.ค. 20
3238
0
ก.ค. 25
687
1
เม.ย. 25
1416
2
มี.ค. 25
1683