I am not very sure what exactly you want to do, but my guess is that you want to limit or filter the products displayed in a existing list/form. Then the approach I will take is to create a ir.rule and set the domain that you need.
It is not good to update existing action (but doable if you use the same id but prefixed by the original module). You should consider create a new one with his own domain.
Access right should not be used for convenient display but only to apply global restrictions.
Thanks for the reply, I want to change an action in the product category tree view, that when double clicked opens a new tab with the products that have that category. But I want that action to filter me also the products that are of type goods.
Thanks for the reply, it happens that if I create a new action, when I double click on the product category tree it does not take this new action, so I think that I should update or delete the existing action. By adding the prefix of the original module I got what I needed. I am left like this:
Because some code may depend on it but also because on each update trytond-admin will update first with the initial value (or log a warning because the record has changed) when processing the original module and then update it with processing your module.