Skip to Content
Menu
This question has been flagged
1078 Views

Hi, everyone



I've built a module that make a summary of all the things a patient have done in a hospital.

In order to show those informations I used a template, and I called that template the dashboard,

my main issue is the translations of selection fields is not working inside the template.



Let me work you through the steps needed to access the dashboard.



1. First of all, you need to click on the consultation module.

2. Once clicked you'll see all patients awaiting for a consultation.

3. then you click on a patient to access his dashboard which has all the informations related to that patient

(the action used here to access the dashboard is a client action ir.actions.client)



But here the weird thing, I have a button inside the dashboard which execute a (window action ir.actions.act_window), and then take me

to another view, when I come back to the dashboard from that view i found the translation actually working fine.



by the way the action that takes me back to the dashboard is also a client action(ir.actions.client).



I would like to know how make the translations of selection fields work ?



Thanks in advance for your answers.




Avatar
Discard