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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
Jul 20
|
2616 | ||
Odoo 3rd party Module Buying
Solved
|
|
1
Jun 20
|
4512 | |
|
14
Aug 18
|
17471 | ||
|
0
Apr 20
|
3864 | ||
How to get company_id in xml
Solved
|
|
3
Feb 24
|
11713 |