Skip to Content
Menu
This question has been flagged
1 Reply
1516 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
2616
1
Jun 20
4512
14
Aug 18
17471
0
Apr 20
3864
3
Feb 24
11713