Odoo Help


odoo android mobile framework

on 10/25/16, 6:44 AM 175 views

Can we set setOnValueChangeListener() on Many2One field or  is there any other type of listerner for MANY2ONE field?

if yes ten a code snippet will b good cause I'm doin sumting like this

((OField)findViewById(R.id.access_class)).setOnValueChangeListener(new OField.IOnFieldValueChangeListener() {


public void onFieldValueChange(OField field, Object value) {

OLog.log(field.getFieldName()+" "+value.toString());



 and therz noting in the log

works well with Boolean type of field

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

1 follower(s)


Asked: 10/25/16, 6:44 AM
Seen: 175 times
Last updated: 10/25/16, 7:01 AM