This question has been flagged
1267 Views

Hi.

I have a situation where an @api.constrains fires but in the view all values are ok.

i did some logging in the constraint function and somehow it takes an old value for a field. when i trace the connection with my browser i can see that when the values are changed in the view, there is an onchange call with all the right values. when i do click on save for the record there is only one field transmitted. but its value is also right. then the constraint fires.

i am out of ideas.  searching for a solution for weeks. please please help

Avatar
Discard