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

I have added a global discount rate to account.invoice.

This is the field definition:

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



Field works fine, if changed I can see change propagated in the GUI and in the database record, but for some reason if I change the value to 0.00 or to 0 I got a 10.0 value in the database.

Does anyone know why this could be happening?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 24
7420
0
ก.พ. 16
3512
Odoo server error แก้ไขแล้ว
5
ก.ค. 23
50823
2
ส.ค. 19
5781
0
เม.ย. 18
4508