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

Calculate minimum stock rules when a stock.picking is created through an automated action

By
E.M.
on 6/14/15, 12:16 PM 436 views

 I am trying to do the equivalent to press "Calculate minimum stock rules" under Warehouse menu when a new stock.picking is created.

I have configured an automated action which works everytime that a new stock.picking is created.

I know it works because I populate the field "add follower" and I can see that the follower is added to every newly created stock.picking.

However I am not being able to configure the specific server action.

What should be used as "base model/model_id/ir.actions.server" and which "action type/state/ir.actions.server" should be used to trigger "calculate minimum stock rules"?

Enable 'Run mrp scheduler' from ir.cron not enough?

zbik
on 6/14/15, 12:37 PM
0
E.M.
On 6/14/15, 7:55 PM

If I understood it properly, zbik suggests to run mrp scheduler planned action.

So instead of an automated action, use the scheduler as planned action.

If that is what zbik means, it is the workaround I am currently using, however I wonder how it should be done to create an automated action, which is relevant for my specific Odoo deployment

Additionally, there could be more requirements like sending a SMS to procurement to put them aware that POs might need to be raised, so learning how to implement automated actions is definitively worth.

I think it must be something simple once you know it, but unfortunatelly t is hard to find documentation related to automated actions.

 

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/14/15, 12:16 PM
Seen: 436 times
Last updated: 6/14/15, 8:00 PM