Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2188 Widoki

   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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

I answer myself:

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
lip 20
3469
1
cze 20
5887
14
sie 18
19213
0
kwi 20
7639
3
lut 24
13282