Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/20/16, 1:58 PM|
|Seen: 303 times|
|Last updated: 6/21/16, 4:24 AM|