Skip to content
Snippets Groups Projects
user avatar
Pierre Masereel authored
As the function 'action_cancel' is multi, we cannot  set the value
'is_locked' to True by using '='. Because it will raise an error if self
contains more or less than 1 record.

To fix this we call the 'write' method which support all cases
c7ca783e
History
Name Last commit Last update