Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2191 Zobrazení

   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
Zrušit
Autor Nejlepší odpověď

I answer myself:

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
čvc 20
3472
1
čvn 20
5888
14
srp 18
19214
0
dub 20
7643
3
úno 24
13285