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 }])
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
4
čvc 20
|
3472 | ||
Odoo 3rd party Module Buying
Vyřešeno
|
|
1
čvn 20
|
5888 | |
|
14
srp 18
|
19214 | ||
|
0
dub 20
|
7643 | ||
How to get company_id in xml
Vyřešeno
|
|
3
úno 24
|
13285 |