Odoo Help


call method from xml

Dércio Duvane
on 7/18/13, 1:32 PM 1,058 views

Hello. I have a small problem, with domains on xml view. My question is if there's a possibility where I can call a method of an object on that object's view?

  1. For instance I have a method called, let's say: "get_xxxx", that returns an id predefined on a configuration
  2. Can I call that method on that same object view?

Not in a domain expression. Maybe you could edit the question to elaborate a little more on what the actual feature you want to implement looks like.

Daniel Reis
on 7/18/13, 8:36 PM

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 platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/18/13, 1:32 PM
Seen: 1058 times
Last updated: 3/16/15, 8:10 AM