Hi.
How can I use Odoo JSON-RPC to call the function get_work_hours_count from resource.calendar model, over the record with id=6?
In other words I would like to something like:
my_resource_calendar = self.env["resource.calendar "].browse(6)
my_resource_calendar.get_work_hours_count("2024-01-01","2024-01-05")
But using the JSON-RPC. Is it possible?
Version: Odoo 17
Thanks in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1276
Visualizzazioni
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
lug 25
|
289 | ||
|
0
lug 25
|
328 | ||
|
1
mag 25
|
817 | ||
|
0
mar 25
|
956 | ||
|
0
mar 25
|
879 |