Odoo-mobile / framework

Odoo Mobile Framework
https://play.google.com/store/apps/dev?id=8607973775002477408
Other
327 stars 374 forks source link

Oselection problem reading #371

Open miklobej opened 6 years ago

miklobej commented 6 years ago

this is my model

OColumn state_order = new OColumn("state_order", OSelection.class) .addSelection("draft","New") .addSelection("paid","Paid") .addSelection("cancel","Cancelled") .addSelection("done","Posted") .addSelection("invoiced","Invoiced")

In my Fragment I need to read state_order value This is my code

public void onViewBind(View view, Cursor cursor, ODataRow row) { OControls.setText(view, R.id.state, row.getString("state_order")); }

But he show me False value