Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2182 Tampilan

   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

Avatar
Buang
Penulis Jawaban Terbai

I answer myself:

models.execute_kw(db, uid, password, 'account.invoice', 'write', [[ invoiceId ], { 'access_token': False }])

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Jul 20
3467
1
Jun 20
5882
14
Agu 18
19211
0
Apr 20
7625
3
Feb 24
13281