Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Sync odoo server with android app

By
anas
on 11/28/16, 7:04 AM 121 views

i have a bit of an issue with the sync service , it won't get all the data from the database in my odoo server , and only get the data from 2 tables ( res.company and res.currency ) where i have already created an addon with the table tms.travel ( which i already entered several examples in the database ).
here's the monitor :
11-28 10:43:59.609 3314-4524/com.TransfleetOdooID I/OSQLite: 12 models path registered.
11-28 10:44:00.007 3314-4524/com.TransfleetOdooID I/OSyncAdapter: User        : admin[transmel]11-28 10:44:00.007 3314-4524/com.TransfleetOdooID I/OSyncAdapter: Model       : res.company11-28 10:44:00.007 3314-4524/com.TransfleetOdooID I/OSyncAdapter: Database    : OdooSQLite_admin_transmel.db11-28 10:44:00.007 3314-4524/com.TransfleetOdooID I/OSyncAdapter: Odoo Version: 8.011-28 10:44:00.015 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Sync for (res.company) Started at 2016-11-28 10:44:0011-28 10:44:00.164 4556-4556/com.TransfleetOdooID:sync_customer I/OSyncService: Service destroyed11-28 10:44:00.789 3314-3932/com.TransfleetOdooID I/qtaguid: Failed write_ctrl(u 55) res=-1 errno=2211-28 10:44:00.789 3314-3932/com.TransfleetOdooID I/qtaguid: Untagging socket 55 failed errno=-2211-28 10:44:00.789 3314-3932/com.TransfleetOdooID W/NetworkManagementSocketTagger: untagSocket(55) failed with errno -2211-28 10:44:00.812 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Processing 1 records11-28 10:44:00.843 4564-4564/com.TransfleetOdooID:sync_travel I/OSyncService: Service destroyed11-28 10:44:00.875 3314-4524/com.TransfleetOdooID I/OSQLite: creating database.
11-28 10:44:01.023 3314-4524/com.TransfleetOdooID V/OSQLHelper: Table Created : res_partner_res_partner_category_rel11-28 10:44:01.031 3314-3318/com.TransfleetOdooID D/dalvikvm: GC_CONCURRENT freed 408K, 16% free 9229K/10932K, paused 4ms+2ms, total 25ms11-28 10:44:01.062 3314-4524/com.TransfleetOdooID V/OSQLHelper: Table Created : mail_message_ir_attachment_rel11-28 10:44:01.070 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_currency11-28 10:44:01.070 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : tms_travel11-28 10:44:01.070 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : mail_message_subtype11-28 10:44:01.078 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_partner_category11-28 10:44:01.078 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : ir_attachment11-28 10:44:01.078 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : mail_message_ir_attachment_rel11-28 10:44:01.078 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : mail_message11-28 10:44:01.085 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_partner_res_partner_category_rel11-28 10:44:01.148 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_partner11-28 10:44:01.562 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_company11-28 10:44:01.687 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : ir_model11-28 10:44:01.820 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : odoo_news11-28 10:44:01.875 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_country11-28 10:44:02.007 3314-4524/com.TransfleetOdooID I/OSQLite: Table Created : res_users11-28 10:44:02.039 3314-4524/com.TransfleetOdooID I/OSQLite: 14 Models registered.
11-28 10:44:02.421 3314-3318/com.TransfleetOdooID D/dalvikvm: GC_CONCURRENT freed 421K, 16% free 9196K/10932K, paused 3ms+7ms, total 25ms11-28 10:44:02.445 3314-4524/com.TransfleetOdooID I/OSyncDataUtils: 2 records affected11-28 10:44:02.453 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Sync for (res.currency) Started at 2016-11-28 10:44:0211-28 10:44:02.679 3314-3933/com.TransfleetOdooID I/qtaguid: Failed write_ctrl(u 56) res=-1 errno=2211-28 10:44:02.679 3314-3933/com.TransfleetOdooID I/qtaguid: Untagging socket 56 failed errno=-2211-28 10:44:02.679 3314-3933/com.TransfleetOdooID W/NetworkManagementSocketTagger: untagSocket(56) failed with errno -2211-28 10:44:02.718 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Processing 1 records11-28 10:44:02.859 3314-4524/com.TransfleetOdooID I/OSyncDataUtils: 2 records affected11-28 10:44:02.921 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Sync for (res.currency) finished at 2016-11-28 10:44:0211-28 10:44:02.960 3314-4524/com.TransfleetOdooID V/OSyncAdapter: Sync for (res.company) finished at 2016-11-28 10:44:0211-28 10:44:02.960 3314-4524/com.TransfleetOdooID I/IrModel: Model Sync Update : res.company11-28 10:44:03.000 3314-3318/com.TransfleetOdooID D/dalvikvm: GC_CONCURRENT freed 374K, 16% free 9208K/10932K, paused 3ms+2ms, total 28ms11-28 10:44:03.710 3314-4525/com.TransfleetOdooID W/InstanceID/Rpc: Found 1001811-28 10:44:05.343 3314-3314/com.TransfleetOdooID I/OdooActivity: OdooActivity->onCreate11-28 10:44:05.507 3314-3314/com.TransfleetOdooID I/dalvikvm: Could not find method android.widget.LinearLayout$LayoutParams.<init>, referenced from method android.support.design.widget.AppBarLayout$LayoutParams.<init>11-28 10:44:05.507 3314-3314/com.TransfleetOdooID W/dalvikvm: VFY: unable to resolve direct method 20697: Landroid/widget/LinearLayout$LayoutParams;.<init> (Landroid/widget/LinearLayout$LayoutParams;)V11-28 10:44:05.507 3314-3314/com.TransfleetOdooID D/dalvikvm: VFY: replacing opcode 0x70 at 0x000011-28 10:44:05.507 3314-3314/com.TransfleetOdooID I/dalvikvm: Could not find method android.widget.LinearLayout$LayoutParams.<init>, referenced from method android.support.design.widget.AppBarLayout$LayoutParams.<init>11-28 10:44:05.507 3314-3314/com.TransfleetOdooID W/dalvikvm: VFY: unable to resolve direct method 20697: Landroid/widget/LinearLayout$LayoutParams;.<init> (Landroid/widget/LinearLayout$LayoutParams;)V11-28 10:44:05.507 3314-3314/com.TransfleetOdooID D/dalvikvm: VFY: replacing opcode 0x70 at 0x000011-28 10:44:05.546 3314-3314/com.TransfleetOdooID D/dalvikvm: GC_FOR_ALLOC freed 242K, 15% free 9308K/10932K, paused 16ms, total 17ms11-28 10:44:05.546 3314-3314/com.TransfleetOdooID I/dalvikvm-heap: Grow heap (frag case) to 10.619MB for 320416-byte allocation11-28 10:44:05.585 3314-3323/com.TransfleetOdooID D/dalvikvm: GC_FOR_ALLOC freed 15K, 15% free 9605K/11248K, paused 38ms, total 38ms11-28 10:44:05.601 3314-3314/com.TransfleetOdooID D/dalvikvm: GC_FOR_ALLOC freed <1K, 15% free 9608K/11248K, paused 16ms, total 16ms11-28 10:44:05.601 3314-3314/com.TransfleetOdooID I/dalvikvm-heap: Grow heap (frag case) to 10.845MB for 250016-byte allocation11-28 10:44:05.617 3314-3314/com.TransfleetOdooID D/dalvikvm: GC_FOR_ALLOC freed 0K, 15% free 9852K/11496K, paused 15ms, total 15ms11-28 10:44:05.859 3314-3314/com.TransfleetOdooID I/Choreographer: Skipped 30 frames!  The application may be doing too much work on its main thread.
11-28 10:44:06.015 3314-3314/com.TransfleetOdooID D/v_gal: [tid=3314] gralloc_register_buffer: ===>Width = 480, Height = 800, surface = 0x61bb09d811-28 10:44:06.023 3314-3314/com.TransfleetOdooID D/WritingBuddyImpl: getCurrentWritingBuddyView() 11-28 10:44:06.062 3314-3314/com.TransfleetOdooID D/v_gal: [tid=3314] gralloc_register_buffer: ===>Width = 480, Height = 800, surface = 0x61bb179811-28 10:44:06.093 3314-3314/com.TransfleetOdooID D/v_gal: [tid=3314] gralloc_unregister_buffer: ===>Width = 480, Height = 800, surface = 0x60fa303811-28 10:44:06.093 3314-3314/com.TransfleetOdooID D/v_gal: [tid=3314] gralloc_unregister_buffer: ===>Width = 480, Height = 800, surface = 0x60fa252811-28 10:44:06.093 3314-3314/com.TransfleetOdooID D/v_gal: [tid=3314] gralloc_unregister_buffer: ===>Width = 480, Height = 800, surface = 0x60f02c3811-28 10:44:06.148 3314-3314/com.TransfleetOdooID I/OdooActivity: Loading fragment: com.odoo.addons.transfleet.Travels11-28 10:44:06.148 3314-3314/com.TransfleetOdooID I/OFragmentUtils: Fragment Loaded (com.odoo.addons.transfleet.Travels)

0
jewel
On 11/30/16, 12:26 AM

Can you please tell me how you have sync Odoo server with your android app.i have the similar problem.
Can you describe the procedure that you have got data from two table?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/28/16, 7:04 AM
Seen: 121 times
Last updated: 11/30/16, 12:26 AM