Skip to Content
मेन्यू
This question has been flagged
1 Reply
2195 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
जुल॰ 20
3518
1
जून 20
5905
14
अग॰ 18
19234
0
अप्रैल 20
7688
3
फ़र॰ 24
13303