Odoo Help


Auto Action to Confirm Sales Quotation

on 11/4/13, 4:48 PM 7,062 views

I import new customers and sales orders from my OpenCart store, on a daily basis, into OpenERP which I use for accounting and manufacturing requirements and given that my "Sale" has already occurred in OpenCart, I want all imported Sales Quotations to automatically be confirmed as Sales Orders without having to do this manually.

Could somebody provide me with a step by step guide on how to use the Automatic or Scheduled Actions to do this, without me having to manually confirm each order via the client interface. All of my "pseudo" manufacturing works on consumables so hopefully there should be nothing stopping automatic confirmation of the sales quotation.

I have tried to work this out myself but to no avail.


Hi, ralph, can you tell me how you make a export file of youre opencart records, and can you import them without editing in openerp? Thanks in advance you can send a reply to nathan at dbbi.nl

on 11/17/13, 4:10 PM

It doesn't look like you are using the opencart-openerp bridge from webkul - this makes quotations which you then have to manually process through all the stages to invoicing. Hopefully in future they'll be able to generate sales orders and payment transactions like the native ecommerce function of odoo v8 now does. Good to find another uk user of opencart and openerp/odoo - drop me a line if you want to share the pain (kurt (at) cmr dash direct dot com)

Hertford Developments Limited, Kurt Haselwimmer
on 7/19/14, 5:35 AM
On 7/21/14, 2:32 AM

Hello Ralph,

If you want to confirm the sales quotation automatically, you can validate/confirm order using workflow. Add below two line in code where your order is created in openerp.

wf_service = netsvc.LocalService("workflow")

wf_service.trg_validate(uid, 'sale.order', order_id, 'order_confirm', cr)

Here, 'order_id' is the created sale order id.

Jonathan Hurtado
On 4/11/15, 6:57 PM


With the Technical Features enabled, you can modify the workflow, by following the Path: Settings -> Workflows, flag the option "sale.order.basic", and click the view "Diagram" button.

Double click on the "Router" node, go to "Transitions" tab, and Add an Item on "Source Activity"


Sequence: 10

Source Activity: sent

Destination Activity: router

Condition: True



Michael St-Georges
On 7/19/14, 4:41 PM

What is your current export/import setup? Is this an XMLRPC bridge? Also, would you prefer a mass action on imported items or a global action? 

In any way, a solution might be https://www.odoo.com/apps/7.0/base_action_rule/

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/4/13, 4:48 PM
Seen: 7062 times
Last updated: 4/11/15, 7:32 PM