I'm having problems understanding this. I know that every time you login you pass through this method inside the OdooLogin.class.
@Override
public void onLoginSuccess(Odoo odoo, OUser user) {
mApp.setOdoo(odoo, user);
mLoginProcessStatus.setText(OResource.string(OdooLogin.this, R.string.status_login_success));
mOdoo = odoo;
if (accountCreator != null) {
accountCreator.cancel(true);
}
accountCreator = new AccountCreator();
accountCreator.execute(user);
}
Now the problem is, whenever I try to go to my OdooAccountManager and get the current user. It always returns null even though I was successfully logged-in.
I'm having problems understanding this. I know that every time you login you pass through this method inside the OdooLogin.class.
Now the problem is, whenever I try to go to my OdooAccountManager and get the current user. It always returns null even though I was successfully logged-in.