Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2958 Представления

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
7917
0
февр. 16
3806
Odoo server error Решено
5
июл. 23
51538
2
авг. 19
6231
0
апр. 18
5093