CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Guys, I'm struggling to create a workflow for sale.order.
Once order is created (imported from CSV and created in Sales with state "draft")
As a next step I would like to change state from 'draft' to 'sent' then 'confirm_sale' then 'validate' and print out all invoices in one go.
Can anyone help me with ?
I found how to change from "draft" into "sent" but if I'm trying to push it further it gives me and error "File "/usr/lib/python2.7/dist-packages/openerp/addons/sale/sale.py", line 589, in action_wait
raise osv.except_osv(_('Error!'),_('You cannot confirm a sales order which has no line.')) except_orm: (u'Error!', u'You cannot confirm a sales order which has no line.')
Meantime installed "Sale Automatic Workflow" but don't know how to set it up :(
I'm quiet close to solve this problem, however would be nice if anyone know how. I'll be appreciated.
So far I modified sale.py, a lot of changes made in workflow routines ;) but I'm not sure is it the best possible way to do it .....
As long as it works ... fine....
About This Community
Odoo Training Center
|Asked: 4/12/16, 6:08 AM|
|Seen: 560 times|
|Last updated: 4/13/16, 7:59 AM|