Skip to Content
Menu
This question has been flagged
1 Reply
1533 Views

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
1
Nov 24
1483
1
Nov 24
1190
2
Sep 24
1047
1
Aug 24
2453
3
Aug 24
2686