Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1562 Visualizzazioni

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.




Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 25
2
0
set 25
2
0
set 25
2
0
set 25
1
2
set 25
862