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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
I answer myself:
models.execute_kw(db, uid, password, 'account.invoice', 'write', [[ invoiceId ], { 'access_token': False }])
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
4
lip 20
|
3469 | ||
Odoo 3rd party Module Buying
Rozwiązane
|
|
1
cze 20
|
5887 | |
|
14
sie 18
|
19213 | ||
|
0
kwi 20
|
7639 | ||
How to get company_id in xml
Rozwiązane
|
|
3
lut 24
|
13282 |