Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
7035
Views
For OpenERP v7:
import netsvc
...
wf_service = netsvc.LocalService('workflow')
wf_service.trg_validate
For Odoo v8 the code change a little
from openerp import workflow
...
workflow.trg_validate(uid, 'account.invoice', id, 'invoice_cancel', cr)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
जन॰ 22
|
2202 | ||
|
|
0
नव॰ 17
|
6415 | ||
|
|
1
अक्तू॰ 15
|
7108 | ||
|
|
0
अक्तू॰ 25
|
3 | ||
|
|
0
अक्तू॰ 25
|
126 |