This question has been flagged
1
Atsakyti
8058
Rodiniai
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!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
0
saus. 22
|
3066 | ||
|
|
0
lapkr. 17
|
7558 | ||
|
|
1
spal. 15
|
8347 | ||
|
|
0
birž. 26
|
5 | ||
|
|
1
birž. 26
|
2152 |