Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Projekt
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
7188
Visninger
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!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
0
jan. 22
|
2361 | ||
|
|
0
nov. 17
|
6543 | ||
|
|
1
okt. 15
|
7311 | ||
|
|
0
nov. 25
|
211 | ||
|
|
0
nov. 25
|
3334 |