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 }])
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
4
Jul 20
|
3467 | ||
Odoo 3rd party Module Buying
Diselesaikan
|
|
1
Jun 20
|
5882 | |
|
14
Agu 18
|
19211 | ||
|
0
Apr 20
|
7625 | ||
How to get company_id in xml
Diselesaikan
|
|
3
Feb 24
|
13281 |