İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1807 Görünümler

Hi all
I am working on a module in the medical field that allows you to do radiology.
I have a somatic region field which is a relational field from which depend two other relational fields type of Radiology and line of Exams.
When I select the somatic region it displays all the associated types and the examination lines to be done.
For each line I created a film button which redirects me to another form to download the image of Radiology.
But when I click on the button I only access the data of my exam lines and the rest of the data is inaccessible. However I need the identifier of the Radio Request for the download of the image.
thanks for the help


Avatar
Vazgeç
En İyi Yanıt

Hi.

In general it seems you need to apply domain for a view to filter and show only some records based on condition. Please see the videos showing the different use cases of domain in odoo.

1. Domain For Menu Action : https://www.youtube.com/watch?v=oLzVr8JYzf0

2. Return View From Python Code In Odoo:  https://www.youtube.com/watch?v=QpzBdLWEWsE

Thanks

Avatar
Vazgeç
Üretici

Hi Niyas Raphy

Thanks for your answer but that was not my problem.

I had already managed to display the types of radiology and line of Exams according to the somatic region.

I just wanted that by clicking on one of my lines of exams that I could retrieve the ID of my Radio Request but I managed to find a solution.

Thanks

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 25
2353
2
Tem 25
7846
2
Tem 25
4237
2
Tem 25
4012
2
Haz 25
2610