Odoo-mobile / framework

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

Can able to add new model "CRM" in framwork-master #339

Closed naitikvithlani closed 6 years ago

naitikvithlani commented 6 years ago

I am trying to create list of CRM leads same as list of customers.

I am getting error java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri com.odoo.core.orm.OModel.uri()' on a null object reference On return new CursorLoader(getActivity(), db().uri(),null, selection, selectionArgs, "name");

Any solution ?

mikedream89 commented 6 years ago

@naitikvithlani what are your android OS version?

naitikvithlani commented 6 years ago

@mikedream89 On Android 7.0 Thanks for your comment, but i just resolved this issue.

Now, I am able to see List of Leads & Opportunities in this project, Please find attached screen shots.

image

image

Also, I implemented the chatting feature for odoo version 8, 9c, 9e, 10c, 10e, Find attached screen shots.

image

image

enerik commented 6 years ago

i am getting the same error . how did you fix it ?

naitikvithlani commented 6 years ago

Hello @enerik,

You can add any addon with follow the simple steps given in the link:

http://mobile.odoo.co.in/v2/getting-started/working-with-odoo-mobile/components/addons.html#creating-addon-with-odoo-mobile

mheros commented 5 years ago

Hello, I'm getting this error. I've followed the example to add an addon with success, but I've not found how to add any other addon. I mean the correct 'parameters' to be used for each addon.

For example the parameter model_name, the correct value for AUTHORITY, and the correct values for AndroidManifest.xml file.

Many thanks for your help.