~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to mkdb.py

  • Committer: jftempo
  • Date: 2017-10-27 17:53:34 UTC
  • Revision ID: jfb@tempo-consulting.fr-20171027175334-j10u3ka6omsp90ec
Do not delete users

Show diffs side-by-side

added added

removed removed

Lines of Context:
980
980
            wiz.do_process_uac([rec_id])
981
981
        except:
982
982
            pass
983
 
        user_obj = self.db.get('res.users')
984
 
        user_ids = user_obj.search([('login', '!=', 'admin')])
985
 
        if user_ids:
986
 
            user_obj.unlink(user_ids)
987
 
        #wizard = self.db.wizard('user.access.configurator', {'file_to_import_uac': data})
988
 
        #wizard.do_process_uac()
989
983
 
990
984
    def test_70_create_intersection(self):
991
985
        partner = self.db.get('res.partner')