Odoo Help

1

odoo android mobile framework

By
Amzz
on 10/25/16, 6:44 AM 325 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() {

@Override

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

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.

Register

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)

Stats

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