odoo-mobile / crm Goto Github PK
View Code? Open in Web Editor NEWOdoo CRM
Home Page: https://play.google.com/store/apps/details?id=com.odoo.crm
Odoo CRM
Home Page: https://play.google.com/store/apps/details?id=com.odoo.crm
I have downloaded latest CRM repository, I sync with my server but in the customer screen it shows only 5 customers in list.
But, At the same time if I search any customer from the header search function / feature and open the bottom with searched customer it will visible in list of customer.
Attached screen shots for further details.
Action bar gone when click on Accounts -->Add Create and then press back action bar gone for ever
I am trying to run the code on an Android 5.0 and above emulator, via Android Studio. I am getting the following error:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.odoo.crm, PID: 2405
java.lang.RuntimeException: Unable to get provider com.odoo.addons.customers.providers.CustomersSyncProvider: java.lang.NullPointerException: println needs a message
Could someone help with debugging this? Thanks.
i am facing authentication problem. After downloading application, i compiled the code from android studio and successfully run in the HTC dream mobile. But while entering valid server URL, it gives invalid server URL. At the same time i compiled the odoo mobile framework application . In this, it accept the server URL but CRM mobile application has crashed. it shows this error::::::
Hello everybody,
please help me, how to get data from ManyToMany field.
Ex: in CalendarEvent.java,
OColumn partner_ids = new OColumn("Attendees", ResPartner.class, OColumn.RelationType.ManyToMany);
Then in CalendarDashboard.java,
public Loader onCreateLoader(int id, Bundle data) {
...
where += "and (partner_ids in ?)";
...
}
=> crash, because partner_ids no such column
Any help please ?
Hello
The syncronisation between mobile and serveur in the customers part, it synchronize only from mobile to serveur. When I create a customer in the server it didn't appear in odoo mobile.
Hello,
Hope you all doing good.
I was going through the CRM demo and trying to implement push notification. Each Time my device receive push notification it crashes.
The Error am finding is:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at odoo.kernel.handler.ActionHandlerService.onHandleIntent(ActionHandlerService.java:47)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
and I found that this class ActionHandlerService is in odoo-rpc-v2 lib. Which is used in this app.
I would appreciate any kind of help
Hi everybody!
When I create a event in calendar then I can synchronizing data with app client, but when I changed a event from today to other date then I can't synchronizing data.
please help me.
Thanks all !
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.odoo.addons.calendar.providers.CalendarSyncProvider: java.lang.SecurityException: caller uid 10057 is different than the authenticator's uid
at android.app.ActivityThread.installProvider(ActivityThread.java:5121)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4681)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4621)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1433)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: caller uid 10057 is different than the authenticator's uid
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:487)
at android.accounts.AccountManager.getUserData(AccountManager.java:335)
at com.odoo.core.support.OUser.fillFromAccount(OUser.java:244)
at com.odoo.core.auth.OdooAccountManager.getAllAccounts(OdooAccountManager.java:51)
at com.odoo.core.auth.OdooAccountManager.getActiveUser(OdooAccountManager.java:141)
at com.odoo.core.support.OUser.current(OUser.java:137)
at com.odoo.core.orm.OModel.(OModel.java:130)
at com.odoo.addons.calendar.models.CalendarEvent.(CalendarEvent.java:0)
at com.odoo.addons.calendar.providers.CalendarSyncProvider.onCreate(CalendarSyncProvider.java:43)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1124)
at android.app.ActivityThread.installProvider(ActivityThread.java:5118)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4681)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4621)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1433)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
08-16 14:10:07.625 784-810/? E/AppErrorDialog: Failed to get ILowStorageHandle instance
08-16 14:10:31.291 784-1228/? E/Parcel: Reading a NULL string not supported here.
08-16 14:11:31.417 784-802/? E/Parcel: Reading a NULL string not supported here.
Hello,
When we make a quotation, we cannot edit the unit price,
I think this is important feature on the quotation creation.
The expected behavior should be can edit unit price and we can select the price list too.
I'm trying to connect to a self-hosted server (odoo.mysterysur.com.ar:8069) and after i put my login information, it gets me a "logging in..." message, finally shows a "creating account..."message and crached.
Hello,
Which one is the most suitable mobile to run the crm application.
Tnks!.
Cursor was closed, how to fix the error ????
thanks
Process: com.odoo.crm, PID: 11925
android.database.StaleDataException: Attempting to access a closed CursorWindow.Most probable cause: cursor is deactivated prior to calling this method.
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:139)
at android.database.AbstractWindowedCursor.getType(AbstractWindowedCursor.java:130)
at android.database.CursorWrapper.getType(CursorWrapper.java:146)
at com.odoo.core.utils.OCursorUtils.cursorValue(OCursorUtils.java:42)
at com.odoo.core.utils.OCursorUtils.toDatarow(OCursorUtils.java:33)
at com.odoo.addons.crm.CRMLeads.onItemClick(CRMLeads.java:332)
at com.odoo.widgets.bottomsheet.BottomSheet$2$1.run(BottomSheet.java:184)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
Steps to reproduce:
Bug:
The application loads,
After creating local database, the application crashes.
Stack trace:
08-22 19:57:32.970: D/odoo.Odoo(19118): http://192.168.1.5:8069
08-22 19:57:33.160: D/App(19118): App->setOdooInstance()
08-22 19:57:33.260: I/dalvikvm(19118): Could not compile trace for Ljava/util/Arrays;fill, offset 7
08-22 19:57:33.260: D/dalvikvm(19118): ++++++++++++++++++++++++++++++++++++++++++++
08-22 19:57:33.260: D/dalvikvm(19118): JIT_INFO: Issues while compiling trace Ljava/util/Arrays;fill, offset 7
08-22 19:57:33.260: D/dalvikvm(19118): The trace provoked a spill.
08-22 19:57:33.260: I/dalvikvm(19118): Trying less registerization from 1 to 0
08-22 19:57:33.260: D/dalvikvm(19118): JIT_INFO: Retrying trace Ljava/util/Arrays;fill, offset 7
08-22 19:57:33.260: D/dalvikvm(19118): ++++++++++++++++++++++++++++++++++++++++++++
08-22 19:57:33.580: D/odoo.Odoo(19118): http://192.168.1.5:8069
08-22 19:57:33.820: D/App(19118): App->setOdooInstance()
08-22 19:57:33.830: D/App(19400): App->onCreate()
08-22 19:57:33.920: D/App(19118): App->getOdooInstance()
08-22 19:57:33.920: V/OSyncHelper(19118): syncWithServer():ir.model
08-22 19:57:33.920: V/OSyncHelper(19118): User : admin[test]
08-22 19:57:34.610: V/OSQLHelper(19118): Table Created : ir_model
08-22 19:57:34.770: V/OSQLHelper(19118): Table Created : res_company
08-22 19:57:34.770: V/OSQLHelper(19118): Table Created : res_partner
08-22 19:57:34.880: V/OSQLHelper(19118): Table Created : ir_attachment
08-22 19:57:35.000: V/OSQLHelper(19118): Table Created : mail_followers
08-22 19:57:35.000: V/OSQLHelper(19118): Table Created : base_account
08-22 19:57:40.300: V/OSyncHelper(19118): ir.model sync finished at 2014-08-22 17:57:40 (UTC)
08-22 19:57:40.470: I/Choreographer(19118): Skipped 393 frames! The application may be doing too much work on its main thread.
08-22 19:57:40.670: D/App(19118): App->getOdooInstance()
08-22 19:57:40.670: V/OSyncHelper(19118): syncWithServer():ir.model
08-22 19:57:40.670: V/OSyncHelper(19118): User : admin[test]
08-22 19:57:40.780: D/dalvikvm(19118): GC_FOR_ALLOC freed 3898K, 30% free 9477K/13440K, paused 18ms, total 18ms
08-22 19:57:41.590: V/OSyncHelper(19118): ir.model sync finished at 2014-08-22 17:57:41 (UTC)
08-22 19:57:41.800: D/com.odoo.MainActivity(19118): MainActivity->FragmentListener->startMainFragment()
08-22 19:57:41.800: I/Choreographer(19118): Skipped 70 frames! The application may be doing too much work on its main thread.
08-22 19:57:42.320: I/Choreographer(19118): Skipped 30 frames! The application may be doing too much work on its main thread.
08-22 19:57:42.710: D/com.odoo.MainActivity(19118): MainActivity->init()
08-22 19:57:42.840: D/BaseActivity(19118): initDrawer()
08-22 19:57:42.860: D/AndroidRuntime(19118): Shutting down VM
08-22 19:57:42.860: W/dalvikvm(19118): threadid=1: thread exiting with uncaught exception (group=0x42f02500)
08-22 19:57:42.860: E/AndroidRuntime(19118): FATAL EXCEPTION: main
08-22 19:57:42.860: E/AndroidRuntime(19118): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.odoo.crm/com.odoo.MainActivity}: java.lang.NullPointerException
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2250)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2300)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread.access$600(ActivityThread.java:144)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.os.Handler.dispatchMessage(Handler.java:99)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.os.Looper.loop(Looper.java:150)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread.main(ActivityThread.java:5162)
08-22 19:57:42.860: E/AndroidRuntime(19118): at java.lang.reflect.Method.invokeNative(Native Method)
08-22 19:57:42.860: E/AndroidRuntime(19118): at java.lang.reflect.Method.invoke(Method.java:525)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-22 19:57:42.860: E/AndroidRuntime(19118): at dalvik.system.NativeStart.main(Native Method)
08-22 19:57:42.860: E/AndroidRuntime(19118): Caused by: java.lang.NullPointerException
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.BaseActivity.isSettingDrawerItem(BaseActivity.java:310)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.BaseActivity.onNavDrawerItemClicked(BaseActivity.java:303)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.BaseActivity.createNavDrawerItems(BaseActivity.java:215)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.BaseActivity.populateNavDrawer(BaseActivity.java:151)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.BaseActivity.onPostCreate(BaseActivity.java:366)
08-22 19:57:42.860: E/AndroidRuntime(19118): at com.odoo.MainActivity.onPostCreate(MainActivity.java:124)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1150)
08-22 19:57:42.860: E/AndroidRuntime(19118): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2233)
08-22 19:57:42.860: E/AndroidRuntime(19118): ... 11 more
08-22 19:57:46.000: I/Process(19118): Sending signal. PID: 19118 SIG: 9
Do you have any plans for translations? Maybe via transifex.com?
I could do the German translation.
hello guys,
can you help me in offline mode.
I want to create sale order in offline mode. But when i try to create sale order in offline mode it will give error for no any relation table like sale_order_line_rel_sale_order.
Anyone have idea about this then please reply.
Thanks.
When will Odoo mobile CRM be available in Google Play?
In June 2014 it was announced to be released within a months or so.
https://www.odoo.com/forum/help-1/question/odoo-mobile-crm-launch-60033
Regards,
How to reproduce:
Mobile: LG G3,
OS: Lollipop (CM12)
I use the 1.0.7 version on my self-hosted server with an nginx server for secure connection.
I can't login with my Url name xxx.c3-bs.com or adresse 151.xxx.xxx.xxx. I try with port 8069 or 443...
It s impossible, what is the problem?
In odoo crm I am not able to see customer details in list view but I am able to get them from search menu when I enter the customer name created then I am able to view the customer.Same thing is going on with products in quotation. Can you please help me with this.
i have seen that CRM, HR, notes and messaging they all shares the same framework but i am seeing that they all published as a different app on google playstore? why is that? if customer wants to use mobile app, do we need to install all the apps individually? this is so wrong.
https://github.com/Odoo-mobile/notes
https://github.com/Odoo-mobile/hr
https://github.com/Odoo-mobile/messaging
how can i combine all the apps together and install it as a one APK? it should be simple as they all shares the same framework? any guideline? any doc?
any feedback will be appreciated?
HI,
Using your open source sales crm app i want to create dashboard activity in it which displays chart views how to get values of leads,activities,sales orders,invoices and customers to charts please help me with that my mail id is [email protected]
Hello everyone,
I have to use different database within same application.But right now i am facing the problem in sync process.While getting the data from second database for second account i am getting data of second db as well as first db's data also in second database.
1、购物偏好
目前quokka 工具中便好标签存在以下几种,但各偏好之间交叉重复率较高,无法满足现阶段用户运营的诉求。
——> 为了让现有策略更精准的触及目标用户,需将用户的行为权重打分,输出偏好等级【1级偏好、2级偏好等】。
行为权重越高 偏好等级越高。
——> 示例:近半年用户A,购买服装3次,购买手表1次,浏览箱包5次,
则偏好等级为:购买偏好—服装,浏览偏好—箱包。品牌、商家、类目偏好则调用购买或浏览产生的评分最高的1级偏好。
此标签迭代:将之前用户存在重复交叉的_购物偏好_,更新为_1级偏好_,且支持动态更新。
在quokka 偏好设置中(如上述截图部分),一个用户只会命中一个1级偏好。【避免因偏好的交叉重复,被不断关联】
Steps to reproduce:
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at odoo.wrapper.OdooWrapper.onResponse(OdooWrapper.java:1156)
at odoo.wrapper.OdooWrapper.onResponse(OdooWrapper.java:65)
at com.android.volley.toolbox.JsonRequest.deliverResponse(JsonRequest.java:65)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5294)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
App crashes when trying to install for the first time.
OdooWrapper class which is within the odoo-rpc-v3 library keeps throwing the above Exception.
If this issue is already closed then where can I get the latest odoo-rpc-v3 library?
Is it possible to add dashboard activity displaying charts like pie chart , bar chart etc if it is possible can u suggest me the library that i should use and the way i should proceed
Error:Could not download artifact 'builder.jar (com.android.tools.build:builder:1.0.0)': No cached version available for offline mode
Steps to reproduce:
Bug:
App hangs on 'Creating account' screen.
Stacktrace from Logcat:
08-17 13:38:16.423: D/OdooHelper(15306): OHelper->login()
08-17 13:38:16.423: D/odoo.Odoo(15306): https://192.168.1.5
08-17 13:38:16.443: W/System.err(15306): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
08-17 13:38:16.443: W/System.err(15306): at com.android.org.conscrypt.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
08-17 13:38:16.443: W/System.err(15306): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
08-17 13:38:16.443: W/System.err(15306): at odoo.Odoo.requestData(Odoo.java:455)
08-17 13:38:16.443: W/System.err(15306): at odoo.Odoo.getSessionID(Odoo.java:564)
08-17 13:38:16.443: W/System.err(15306): at odoo.Odoo.init(Odoo.java:360)
08-17 13:38:16.443: W/System.err(15306): at odoo.Odoo.(Odoo.java:264)
08-17 13:38:16.443: W/System.err(15306): at com.odoo.orm.OdooHelper.login(OdooHelper.java:47)
08-17 13:38:16.443: W/System.err(15306): at com.odoo.base.login_signup.AccountCreate$CreateAccount.doInBackground(AccountCreate.java:245)
08-17 13:38:16.443: W/System.err(15306): at com.odoo.base.login_signup.AccountCreate$CreateAccount.doInBackground(AccountCreate.java:1)
08-17 13:38:16.443: W/System.err(15306): at android.os.AsyncTask$2.call(AsyncTask.java:288)
08-17 13:38:16.443: W/System.err(15306): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-17 13:38:16.443: W/System.err(15306): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
08-17 13:38:16.443: W/System.err(15306): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-17 13:38:16.443: W/System.err(15306): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-17 13:38:16.443: W/System.err(15306): at java.lang.Thread.run(Thread.java:841)
08-17 13:38:16.453: W/System.err(15306): java.lang.NullPointerException
08-17 13:38:16.453: W/System.err(15306): at com.odoo.auth.OdooAccountManager.createAccount(OdooAccountManager.java:96)
08-17 13:38:16.453: W/System.err(15306): at com.odoo.base.login_signup.AccountCreate$CreateAccount.doInBackground(AccountCreate.java:251)
08-17 13:38:16.453: W/System.err(15306): at com.odoo.base.login_signup.AccountCreate$CreateAccount.doInBackground(AccountCreate.java:1)
08-17 13:38:16.453: W/System.err(15306): at android.os.AsyncTask$2.call(AsyncTask.java:288)
08-17 13:38:16.453: W/System.err(15306): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-17 13:38:16.453: W/System.err(15306): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
08-17 13:38:16.453: W/System.err(15306): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-17 13:38:16.453: W/System.err(15306): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-17 13:38:16.453: W/System.err(15306): at java.lang.Thread.run(Thread.java:841)
Cannot log into self managed host with the up to date version of Odoo 9.
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.xxx.odoo.xxx.core.orm.ODataRow.getString(java.lang.String)' on a null object reference
at com.xxx.odoo.xxx.addons.crm.CRMOpportunities$6.OnSuccess(CRMOpportunities.java:482)
at com.xxx.odoo.xxx.addons.crm.models.CRMLead$2.onPostExecute(CRMLead.java:433)
at com.xxx.odoo.xxx.addons.crm.models.CRMLead$2.onPostExecute(CRMLead.java:409)
at android.os.AsyncTask.finish(AsyncTask.java:636)
at android.os.AsyncTask.access$500(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
07-06 06:47:29.239 4765-4777/com.xxx.odoo.xxx W/CursorWrapperInner﹕ Cursor finalized without prior close()
we had created a room management web application using your python framework now we want to make android app of same application but i am facing problem to add new model in calendar view can any body help me with this.
I have to try to login with Odoo CRM application using my Odoo URL sh but Odoo URL sh not connect and getting this message Invalid Odoo URL
odoo mobile app does not connect with odoo sh, has someone given you the same problem?
Hello everybody,
I have issue with many2many fields,
like i have two many2many field within same OModel and its belong to same OModel class and for that i have declare table name and it also created table but in which i can't get data.
so how can i get data?
Process: com.odoo, PID: 21036
04-28 04:43:39.339: E/AndroidRuntime(21036): java.lang.IllegalStateException: Couldn't read row 0, col 15 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
Hello All,
I am using the application in android 7.x,
When I try to login using self hosted URL, After entering the URL it's crashed.
Following are the log report.
com.odoo.crm D/NetworkSecurityConfig: No Network Security Config specified, using platform default com.odoo.crm I/DpmTcmClient: RegisterTcmMonitor from: org.apache.http.impl.conn.TcmIdleTimerMonitor com.odoo.crm I/DpmTcmClient: RegisterTcmMonitor from: org.apache.http.impl.conn.TcmIdleTimerMonitor com.odoo.crm W/System.err: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: 192.168.0.107:8069/web/webclient/version_info com.odoo.crm W/System.err: at java.net.URI.create(URI.java:854) com.odoo.crm W/System.err: at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:84) com.odoo.crm W/System.err: at odoo.Odoo.requestData(Odoo.java:362) com.odoo.crm W/System.err: at odoo.Odoo.serverVersion(Odoo.java:304) com.odoo.crm W/System.err: at odoo.Odoo.init(Odoo.java:278) com.odoo.crm W/System.err: at odoo.Odoo.<init>(Odoo.java:200) com.odoo.crm W/System.err: at com.odoo.core.support.OdooServerTester.testConnection(OdooServerTester.java:50) com.odoo.crm W/System.err: at com.odoo.core.account.OdooLogin$OdooURLTester.doInBackground(OdooLogin.java:515) com.odoo.crm W/System.err: at com.odoo.core.account.OdooLogin$OdooURLTester.doInBackground(OdooLogin.java:492) com.odoo.crm W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:304) com.odoo.crm W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237) com.odoo.crm W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) com.odoo.crm W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) com.odoo.crm W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) com.odoo.crm W/System.err: at java.lang.Thread.run(Thread.java:761) com.odoo.crm W/System.err: Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: 192.168.0.107:8069/web/webclient/version_info com.odoo.crm W/System.err: at java.net.URI$Parser.fail(URI.java:2856) com.odoo.crm W/System.err: at java.net.URI$Parser.checkChars(URI.java:3029) com.odoo.crm W/System.err: at java.net.URI$Parser.checkChar(URI.java:3039) com.odoo.crm W/System.err: at java.net.URI$Parser.parse(URI.java:3055) com.odoo.crm W/System.err: at java.net.URI.<init>(URI.java:590) com.odoo.crm W/System.err: at java.net.URI.create(URI.java:852) com.odoo.crm W/System.err: ... 14 more
Except for the Administrator account, all other accounts are not updated and newly created. Do you know why? Help me.
The only open source part of this app (and the framework from the same organization) is the front-end. The logic that connects the app to odoo is (probably, I can't tell since the sources are not available) is held into the odoo-rpc-v2.aar binary file that is added to the project.
For instance if you remove the play services dependency from the gradle file the app builds and installs, but then force closes on account setup on a device without google play services with the error:
E/AndroidRuntime(10930): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(10930): Process: com.odoo.crm, PID: 10930
E/AndroidRuntime(10930): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(10930): at android.os.AsyncTask$3.done(AsyncTask.java:304)
E/AndroidRuntime(10930): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
E/AndroidRuntime(10930): at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
E/AndroidRuntime(10930): at java.util.concurrent.FutureTask.run(FutureTask.java:242)
E/AndroidRuntime(10930): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/AndroidRuntime(10930): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime(10930): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime(10930): at java.lang.Thread.run(Thread.java:818)
E/AndroidRuntime(10930): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/gcm/GoogleCloudMessaging;
E/AndroidRuntime(10930): at odoo.kernel.DeviceInfo.getGCMKey(DeviceInfo.java:139)
E/AndroidRuntime(10930): at odoo.kernel.OdooRegister.register(OdooRegister.java:125)
E/AndroidRuntime(10930): at odoo.Odoo.pingDevice(Odoo.java:435)
E/AndroidRuntime(10930): at odoo.Odoo.authenticate(Odoo.java:603)
E/AndroidRuntime(10930): at com.odoo.core.support.OdooLoginHelper.login(OdooLoginHelper.java:52)
E/AndroidRuntime(10930): at com.odoo.core.account.OdooLogin$LoginProcess.doInBackground(OdooLogin.java:353)
E/AndroidRuntime(10930): at com.odoo.core.account.OdooLogin$LoginProcess.doInBackground(OdooLogin.java:321)
E/AndroidRuntime(10930): at android.os.AsyncTask$2.call(AsyncTask.java:292)
E/AndroidRuntime(10930): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/AndroidRuntime(10930): ... 4 more
E/AndroidRuntime(10930): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.gcm.GoogleCloudMessaging" on path: DexPathList[[zip file "/data/app/com.odoo.crm-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime(10930): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime(10930): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime(10930): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/AndroidRuntime(10930): ... 13 more
E/AndroidRuntime(10930): Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.gcm.GoogleCloudMessaging
E/AndroidRuntime(10930): at java.lang.Class.classForName(Native Method)
E/AndroidRuntime(10930): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/AndroidRuntime(10930): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/AndroidRuntime(10930): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/AndroidRuntime(10930): ... 14 more
E/AndroidRuntime(10930): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
W/ActivityManager( 466): Force finishing activity 1 com.odoo.crm/com.odoo.core.account.OdooLogin
The odoo.Odoo and the odoo.kernel packages are not part of the released sources.
Claiming that this app is open source is bogus.
I did a few tests with the latest version of the app and so far main problem seems to be that apps gives an access only to it own contacts, sales order, etc. rather than following settings in the system like see own leads, etc. Especially for contacts not very suitable - can this can be configure or to be changed in the future?
How to register a new model in osqlite
In Odoo CRM I can only see time format with AM/PM, when I and many people prefer 24h clock. It shoould be optional (per user).
Also, date format is shown as: "day of week", "short month" "day", "year".
This format feels very awkward in my country (we go with day-month-year order), so it should also be configurable in settings.
How to add new model by removing existing model in calendar for example we have calendar_Event model in crm i want to give other model name of different module in mobile android application can any one help with this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.