Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1812 Widoki

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
2354
2
lip 25
7849
2
lip 25
4245
2
lip 25
4013
2
cze 25
2611