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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
4
de jul. 20
|
3502 | ||
Odoo 3rd party Module Buying
Solved
|
|
1
de juny 20
|
5900 | |
|
14
d’ag. 18
|
19226 | ||
|
0
d’abr. 20
|
7675 | ||
How to get company_id in xml
Solved
|
|
3
de febr. 24
|
13295 |