Skip to Content
Menu
This question has been flagged
1 Reply
2190 Views

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

I answer myself:

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

Avatar
Discard
Related Posts Replies Views Activity
4
Jul 20
3472
1
Jun 20
5888
14
Aug 18
19214
0
Apr 20
7643
3
Feb 24
13285