Skip to Content
Menú
This question has been flagged
1 Respondre
2193 Vistes

   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 Best Answer

I answer myself:

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
de jul. 20
3502
1
de juny 20
5900
14
d’ag. 18
19226
0
d’abr. 20
7675
3
de febr. 24
13295