Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 16
2099
3
sty 24
6047
5
lip 23
48224
2
sie 19
4578
0
kwi 18
3169