Odoo-mobile / framework

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

Unable to create record on server. #382

Closed developpeurSTS closed 5 years ago

developpeurSTS commented 5 years ago

My recordings are present locally, but during synchronization, the recording does not come on the server.

Someone to a solution to offer me?

ikerfah commented 5 years ago

You sure that you fill all the required fields ?

developpeurSTS commented 5 years ago

yes I have completed the required fields. However, I noticed that the id of the local record takes the value 0.

ikerfah commented 5 years ago

Go to Model class and check the method allowCreateOnServer ( or something like that ) returns true. And you sure that you set the authority for your model ?( manifest(provider and service)-xml file)

developpeurSTS commented 5 years ago

That's what I just tried, and apparently it worked.

Thanks for your help.

ikerfah commented 5 years ago

Congratulate! You close the issue now.