This question has been flagged
1 Reply
3623 Views

I have created a large number of stock moves (from shop to reserve).

This resulted in moves that are in New status and I need to modify the status to DONE

I am using the V8 Saas online and I see no menu for a batch treatment.

What would be the code for a new button to be added to the "more options" menu?

This action buton would take a list of moves and then allow to change the statuses.

Avatar
Discard
Best Answer

Hello,

You can add a new button to more options by setting the attribute key2="client_action_multi" to the act_window.

You can take as example the change password in the user model. The selected records ids will be passed in the context with key name "active_ids". Also if your records are huge 1k+ for example you can check this question as well ...

Hope this could helps 

Avatar
Discard
Author

Thanks Ahmed for giving directions. I will check but I am not a developper :). I have 2595 moves to validate!

Author

I went to the act_window form; but I have no idea of where to add the key2="client_action_multi" NOR what to do next to any change. Can you help me a little bit more? :)