Skip to Content
मेन्यू
This question has been flagged
1 Reply
3138 Views

My task is to automate the sales delivery without user interaction in openrep. I am getting the orders from amazon and checking the amazon order status. If it is shiped i have to deliver the products that belongs to sales order. I tried below functions      

                           saleorder_obj.action_view_delivery(cr,uid,saleorderid,context)
                            stock_picking_out_obj.action_process(cr,uid,saleorderid,context)
                            stock_partial_picking_obj.do_partial(cr,uid,saleorderid,context)

 But this functions not synch with my ordres. I am getting the error.

"'Field picking_id not found in browse_record(stock.partial.picking, 7660)'"

Avatar
Discard
Best Answer

Try to use Automatic Workflow module available at Github.  This module is very helpful to automate the SO process.

https://github.com/OCA/e-commerce/tree/7.0/sale_automatic_workflow

Also, it is being used for Prestashop/Magento connector automation.

Avatar
Discard