تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3525 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 16
2743
3
يناير 24
7424
Odoo server error تم الحل
5
يوليو 23
50831
2
أغسطس 19
5784
0
أبريل 18
4522