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

For some of my products (telecom per-minute rates or USA IRS mileage reimbursement rates) I need to have the product price field extended to 3 or even up to 6 decimal digits. But I also need to round invoices, sales orders, and receipts to 2 digits. But changing the rounding and decimal precision for the Account module (Settings / Configuration / Accounting / Decimal precision on journal entries) (or via the currency config) changes both the product price shown in invoices, expense reports, etc., and the total amount of the invoice. Is there a way to temporarily or permanently make the whole invoice rounded to just 2 decimal digits? To most customers, having an invoice amount of $23.23458 would be confusing when they go to write their check to me. I would like the ability to have all lines in the invoice extended to whatever decimal precision the product is set up for, but still round the total for the invoice to amounts the currency can actually be paid in. How would I do that?

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

I have the same question and i think the only way is develop some fixture to do it. If you figure out other solution, please let me know. I will do the same ;)

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

In the User Access rights, enable "Technical Features". Go to Settings > Technical > Database Structure > Decimal Accuracy > Product Price

A more detailed answer can be found here : https://accounts.openerp.com/forum/Help-1/question/1299

Don't forget to restart the server for the change to take effect.

Thanks to https://accounts.openerp.com/forum/Help-1/question/6166

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

Perfect answer, quick and easy, and it works perfectly!

thanks for the answer . i change all but the product is 3 decimal but in the point of sale i can see 3 decimal but the third still 0 how can i fix that thanks in advance.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
7212
3
thg 12 23
3084
0
thg 12 15
4005
1
thg 7 24
3392
0
thg 5 24
1038