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
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
            
                1677
                
                    Vizualizări
                
            
        
    Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|  | 2 sept. 25  | 995 | ||
|  | 1 sept. 25  | 1640 | ||
|  | 0 iul. 25  | 1035 | ||
|  | 0 mar. 25  | 1440 | ||
|  | 0 mar. 25  | 1503 | 
