Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3620 Lượt xem

Would like to ask on how you can get the id of the comodel inside the `ir.actions.act_window`.

See my source code: https://gist.github.com/renesansz/2642b02875475383605e

Currently, I cannot get the `sprint_id.project_id.current_sprint` reference since it's giving me an error of `Uncaught Error: NameError: name 'sprint_id' is not defined`. So what I wanted to happen is that upon opening the project it should add a default filter for the current sprint of the project.


Do I have any alternative for this kind of approach?

Tried doing domain, but still no luck solving the issue.


Cheers,

Rene

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
2749
1
thg 11 24
1476
1
thg 7 25
2192
2
thg 10 24
1620
1
thg 10 24
1303