Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2180 Vistas

   Hi. I'm sharing some invoices for downloading them using an external tool. I would like to unshare the invoices after that process.


   Is there any way, through Odoo or via API, to unshare an invoice?


   Thanks in advance

Avatar
Descartar
Autor Mejor respuesta

I answer myself:

models.execute_kw(db, uid, password, 'account.invoice', 'write', [[ invoiceId ], { 'access_token': False }])

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
jul 20
3467
1
jun 20
5881
14
ago 18
19210
0
abr 20
7614
3
feb 24
13280