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.
この質問にフラグが付けられました
2407
ビュー
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
|
0
5月 26
|
2 | ||
|
|
0
4月 26
|
13 | ||
|
|
0
3月 26
|
4 | ||
|
|
0
2月 26
|
41 | ||
|
|
2
9月 25
|
2316 |