La domanda è stata contrassegnata
1
Rispondi
8061
Visualizzazioni
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)
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
0
gen 22
|
3067 | ||
|
|
0
nov 17
|
7559 | ||
|
|
1
ott 15
|
8347 | ||
|
|
0
giu 26
|
5 | ||
|
|
1
giu 26
|
2152 |