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

In the client all values are correct, but when hitting save they change back to what they have been before editing the record.

Аватар
Відмінити

hi, do you have set some automated actions? or user defined defaults?

Which record? Which fields? Which version? Which deployment (Online, SH, On Prem(

Автор

Hi.

Sorry for the delayed answer.

I am on odoo 13 and am hosting a own server.

The concerned field is part of my custom purchase module. In this module i have order lines and a skonto(discount) field. The concerned field is the total amount of the order. It gets computed along with the untaxed and taxed fields and the skonto field in one compute function.

I have an other problem too, but i think they may be connected. In my order i also have  cost center lines (where the order must be booked). per a @api.constrains the total order amount must match the cost center lines total amount. but the constains function also somehow uses an old value.

I am very thankful for every help, as this bug is blocking my every progress.