refactor code
change file name
fixed reset_openerp_sync_flag bug