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!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
4
Tem 20
|
3535 | ||
Odoo 3rd party Module Buying
Çözüldü
|
|
1
Haz 20
|
5913 | |
|
14
Ağu 18
|
19241 | ||
|
0
Nis 20
|
7722 | ||
How to get company_id in xml
Çözüldü
|
|
3
Şub 24
|
13315 |