Hello everybody!!
Please, my friend i have two classes.
I want to access to the current data of the first class that i am adding to the current menu in the second class.
PS: the current data are not saved, they are only entered.
Best Regards.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everybody!!
Please, my friend i have two classes.
I want to access to the current data of the first class that i am adding to the current menu in the second class.
PS: the current data are not saved, they are only entered.
Best Regards.
See my answer of your other question at:
https://www.odoo.com/forum/help-1/question/how-to-pass-values-to-a-popup-94034#answer_94038
my friend i didnt understand wht do you mean by key and field_key :/
key and field_key are the names under you will pass the values of the form fields in the context, using those names from the context you will retrieve the values latter on the button method or for what you need. Note that key and field_key could be any other names
Also you need to know that before your button method is called... the form get saved
can i pass the values without saving??!!
how can i add the button print in the popup because i have a report to join ??
Of course, but you will not pass values without saving, the form will be saved automatically, but if not get saved it will still build the context using the values and field values that you define
Too many questions in the comments my friend, it's better to build a good question explaining everything you need, so you get a more direct answer
You could define one button for the form 1 to open the popup and another button in the form 2 of the popup to use the context values and return a report dict action
friend here is the link of my new answer if you want to help me please: https://www.odoo.com/fr_FR/forum/help-1/question/how-to-work-with-pop-ups-in-open-erp-94092
It will be better if you provide an example of what you are trying to the after test everything that I write here and on the other question, so this questions get a proper answer, you could also edit the original question with the better description and examples
i have put the function in the other question would you help plz
allooooooooo
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
2
may 22
|
35359 | |||
|
0
mar 19
|
5079 | |||
|
0
ene 19
|
6311 | |||
|
4
feb 24
|
13937 | |||
|
0
ene 18
|
4798 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hi @Drees Far, you need to be more clear when you post a question, I cannot understand your scenario
Hi my friend; look i have some fields to enter data then i click on a button to open a popup and now i want to pass the entered data to my popup i havent save my data yet thet are only entered