Hi, i want to click on a form button i created, call a function for that object and then open new view with the lines of that object modified by the function. I am not quite sure of how to do that, here's my code xml code:

Currently i am calling to a function in my model, but i don't know how to open a view derived from that. I want to show the field invoices of that same best.route but with the changes i made in the function.

This view definition is just an example. You should adjust it to better fit your needs. Also, this method requires that the best.route and the invoices attached to it is saved in the database (=has an id).

Hi, i want to click on a form button i created, call a function for that object and then open new view with the lines of that object modified by the function. I am not quite sure of how to do that, here's my code xml code:

Currently i am calling to a function in my model, but i don't know how to open a view derived from that. I want to show the field invoices of that same best.route but with the changes i made in the function.

This view definition is just an example. You should adjust it to better fit your needs. Also, this method requires that the best.route and the invoices attached to it is saved in the database (=has an id).

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice.

About This Forum

This community is for professionals and enthusiasts of our products and services.

Question tools

Stats

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines