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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
            
                1671
                
                    查看
                
            
        
    | 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|  | 2 9月 25  | 995 | ||
|  | 1 9月 25  | 1638 | ||
|  | 0 7月 25  | 1034 | ||
|  | 0 3月 25  | 1437 | ||
|  | 0 3月 25  | 1503 | 
