I have custom field like this:
https://i.imgur.com/RlZdW2i.png
I would like to update its value every time when company_ids inside Users changes.
I've read that when it is marked as "stored" it calculates only once when record is created and then everytime when Dependencies change.
But I don't know what to put inside Dependencies. I think I need to put there a company_ids somehow but I don't know how. Something like this does not work:
env['res.users'].company_ids
I've also tried to make automated action like this:
https://i.imgur.com/EceKzdz.png
But it does not work as well