Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2749 Переглядів

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
7427
0
лют. 16
3548
Odoo server error Вирішено
5
лип. 23
50838
2
серп. 19
5785
0
квіт. 18
4542