This question has been flagged
1
Respondre
8072
Vistes
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!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
0
de gen. 22
|
3073 | ||
|
|
0
de nov. 17
|
7560 | ||
|
|
1
d’oct. 15
|
8356 | ||
|
|
0
de juny 26
|
5 | ||
|
|
1
de juny 26
|
2152 |