Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
tammik. 24
7934
0
helmik. 16
3832
5
heinäk. 23
51555
2
elok. 19
6249
0
huhtik. 18
5108