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

Auto Action to Confirm Sales Quotation

By
Ralph
on 11/4/13, 4:48 PM 4,930 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.

Thanks

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

Nathan
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
2
akshay
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.

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

hi,

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"

Example:

Sequence: 10

Source Activity: sent

Destination Activity: router

Condition: True

 

Regards.

0
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/

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: 11/4/13, 4:48 PM
Seen: 4930 times
Last updated: 4/11/15, 7:32 PM