Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to change the status New to Done for a large number of internal stock moves?

By
Thomas
on 6/20/16, 1:58 PM 223 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.

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 6/21/16, 4:24 AM

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 

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

Thomas
on 6/21/16, 5:13 AM

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? :)

Thomas
on 6/21/16, 5:24 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/20/16, 1:58 PM
Seen: 223 times
Last updated: 6/21/16, 4:24 AM