Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta
1
Responder
7230
Vistas
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)
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
0
ene 22
|
2397 | ||
|
|
0
nov 17
|
6601 | ||
|
|
1
oct 15
|
7346 | ||
|
|
0
nov 25
|
3360 | ||
|
|
2
oct 25
|
592 |