-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why framework is looking for relation table for inserting OneToMany record. #138
Comments
I found this on google can you please post the code you used to create the attendance_report_hr_attendance_rel |
or this |
@saltracker This framework handles entire database for me. it's the feature of this framework. |
which one have you done |
@saltracker I've updated my previous comment. please, have look. |
It is reported that "after upgrading from Android Studio 2.0 beta 4 to beta 6, that SugarRecord tables are not being created through fresh app install, database migration through version change, database migration through database name change and all other methods." They say it is to do with the 'Instant Run' feature as disabling this seems to resolve the issue I am not sure if there is anything that can be done by Sugar resolve this, but as it is likely to crop up in future, I believe it should be added to the README or associated documentation to warn others. |
disable instant run and confirm if it makes a difference |
@saltracker I've created demo app dedicated to this issue for you. please have a look |
thanks ive checked it out it and will study it |
@saltracker It's my pleasure. |
Hi kasim Thanks I've got it loaded. Sent from BlueMail On 4 Apr 2016, 14:59, at 14:59, Kasim Rangwala notifications@github.com wrote:
|
Hello @kasim1011, It seems enhancement in ORM for inserting relation record from main record values. The solution available soon. |
Hello @dpr-odoo Thanks a lot for your positive reply. |
|
Hello @saltracker Thanks |
could the problem exist because of the way the attendance is being reported ie normally one person with one phone reports on their individual attendance - but what we want to do is for one supervisor to report on many teachers and learners (One to many ) ? |
Improved and merged to master (48c8bf9)
Documentation for handling relation records: http://mobile.odoo.co.in/v2/getting-started/working-with-odoo-mobile/components/working-with-relation-records.html |
I have just started exploring this framework.But I am facing one issue.I am not able to understand that from where the customers data is coming,when we click on customer side menu |
I've two
Models
calledHrAttendance
andAttReport
. here's they are:Now, when I'm attempting to insert data in
AttReport
table. framework saysno such table: attendance_report_hr_attendance_rel
here's code:
here's the Log:
I can't figure out what's going on. any kind of help or suggestions are welcome.
The text was updated successfully, but these errors were encountered: