Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2205 Prikazi

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

I answer myself:

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
jul. 20
3550
1
jun. 20
5934
14
avg. 18
19284
0
apr. 20
7793
3
feb. 24
13351