i need to show the person name actually i show the id of person
public void onViewBind(View view, Cursor cursor, ODataRow row) {
OControls.setText(view, R.id.name, row.getString("person_id"));
}
there are a relation manyToOne between class (sanction) and (ResPartner)
in this class(sanction) i put this code
public class Sanction extends OModel {
public static final String TAG = Sanction.class.getSimpleName();
public static final String AUTHORITY = "com.odoo.Etudiant";
OColumn person_id = new OColumn("name", ResPartner.class,
OColumn.RelationType.ManyToOne);
he shows me the id of person but i need to show his name what can i do ?