Open developpeurSTS opened 5 years ago
Hello, Did you add the services to your manifest ? ( you need to two tags , provider and service) , did you ?
Yes, everything is there. When I run it on an emulator (android 4.4.2), I see that synchronization models appear normally. But when I run it on a phone with the same characteristics as the emulator, I do not get anything. I tried with 3 different phones with android versions (4.4.2, 7.0), same result. Thank you
Can you post a screenshot for your manifest ? I want to see how did your wrote the provider and service
that's the screenshot when the application is running on the emulator. As you can see, I have the option to check / uncheck.
that's the screenshot when the application runs on my phone (Tecno Camon CM, android 7.0). As you can see, I have nothing.
There you have the files that you asked me (provider, service, manifest).
This can be a issue from your device , you can find sync adapter for other apps ? if your can't, can you please go to "Settings > Apps ... Show System" you should see "Calendar Storage" and must not be disabled. and then enable it.
I just checked, it's activated, and all seems normal.
Right, Can you please add 'syncable' attribute to your provider and set it to true ? android:syncable="true"
Sorry, I can not find the 'syncable' attribute anywhere. Can you guide me further?
inside your provider ,
<provider android:name="com.odoo.addons.customers.providers.CustomersSyncProvider" android:authorities="${applicationId}.core.provider.content.sync.res_partner" android:label="@string/sync_label_customers" android:syncable="true" android:multiprocess="true" />
Sorry nothing has changed.
Good evening dear all,
I have difficulties with setting the synchronization on the odoo mobile application. By doing this, Settings> Sync Settings> Odoo> user [Odoo8], I get an empty list. It is then impossible to eneable the synchronization of the models of the list.
Someone would have a solution to offer me? Thank you