Odoo Help


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.


Sale Order Confirmed method

on 2/22/13, 5:04 AM 1,828 views

Once Sale Order Confirmed Button Clicked. action_wait, action_confirm method are called.

action_wait mehtod is called from the Sale Order workflow signal order_confirm

action_confirm method is called from the Stock Order workflow signal button_confirm

In My doubt is in Sale Order confirm button clicked. How the Stock workflow action_confirm method called? where the code written to calling the Stock action_confirm?


Evert Dausy
On 6/19/13, 12:21 PM


If you check the "def _create_pickings_and_procurements(self, cr, uid, order, order_lines, picking_id=False, context=None):" method in the sale module. You will find this line:

wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)

I think this is what you are looking for?

kind regards

yes, I have another doubt once sale order confirm button clicked how action_ship_create method is called. In sale order workflow draft to router [sale confirm] state signal called to action_wait method only. where its called action_ship_create method in workflow?

on 7/5/13, 4:35 AM

If you navigate to the workflows in the interface. You will find the sale.order.basic workflow. The method that you are searching for is visible in 'ship'

Evert Dausy
on 7/16/13, 8:57 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

0 follower(s)


Asked: 2/22/13, 5:04 AM
Seen: 1828 times
Last updated: 3/16/15, 8:10 AM