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

From all issues I have faced in Odoo, this is by fair the most weird one.

I have added the following new field to account.invoice:

early_payment_discount_rate = fields.Float(
string = 'Discount Rate (%)',
store = True,
translate = True,
help = "Early payment discount applied to total (before taxes).",
)


It works fine but when I try to set a value of 0 or 0.00, Odoo stores 10 in database. Any other value works fine.

I am extremely lost with this issue, any tip to debug or idea that might lead to fix is really welcomed. Thanks a lot.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 16
2736
3
thg 1 24
7423
Odoo server error Đã xử lý
5
thg 7 23
50826
2
thg 8 19
5781
0
thg 4 18
4511