I have this follow issue. In a field one2many in a tree view I have a button that modify the state of the line, but after the button is pressed the follow message is displayed
trytond.exceptions.ConcurrencyException: Records were modified in the meanwhile
And tried this code to avoid the notification but doesn’t work
Normally after clicking on a button the client reload the related record so there should be no concurrency.
Are you sure to modify the right record? Is the record correctly reloaded?