gender=u'F', held_positions=[held_pos3]) person3.firstname_abbreviated = u'P3' person4 = PersonDescriptor('person4', u'Person4LastName', u'Person4FirstName', gender=u'F', held_positions=[held_pos4]) person4.firstname_abbreviated = u'P4' # The whole configuration object ----------------------------------------------- data = PloneMeetingConfiguration( 'My meetings', (meetingPma, meetingPga), (developers, vendors, endUsers, org_outside1, org_outside2)) # necessary for testSetup.test_pm_ToolAttributesAreOnlySetOnFirstImportData data.restrictUsers = False data.persons = [person1, person2, person3, person4] data.usersOutsideGroups = [ siteadmin, cadranel, voter1, voter2, powerobserver1, powerobserver2, restrictedpowerobserver1, restrictedpowerobserver2, budgetimpacteditor, templatemanager1 ] contactsTemplate = PodTemplateDescriptor('contactsTemplate', 'Export organizations', dashboard=True) contactsTemplate.odt_file = 'organizations-export.ods' contactsTemplate.pod_formats = ['ods', 'xls'] contactsTemplate.dashboard_collections_ids = ['all_orgs'] contactsTemplate.use_objects = True data.contactsTemplates = [contactsTemplate]
{ 'meeting_config': 'cfg2', 'trigger_workflow_transitions_until': '__nothing__' }, ] collegeMeeting.addContactsCSV = False # use template file from profile examples_fr patch_pod_templates(collegeMeeting.podTemplates, '../../examples_fr/templates/') # Council councilMeeting = deepcopy(examples_fr_import_data.councilMeeting) councilMeeting.id = 'meeting-config-zcouncil' councilMeeting.title = "Conseil" councilMeeting.folderTitle = "Conseil" councilMeeting.shortName = 'ZCouncil' councilMeeting.assembly = '' councilMeeting.signatures = '' councilMeeting.selectableAdvisers = [] councilMeeting.meetingConfigsToCloneTo = [] patch_pod_templates(councilMeeting.podTemplates, '../../examples_fr/templates/', collegeMeeting.id) data = PloneMeetingConfiguration(meetingFolderTitle='Mes séances', meetingConfigs=( collegeMeeting, councilMeeting, ), orgs=examples_fr_import_data.groups) data.usersOutsideGroups = [president, conseiller]
'accepted_but_modified', 'delayed', 'refused') councilMeeting.itemManualSentToOtherMCStates = [] councilMeeting.itemAutoSentToOtherMCStates = [] councilMeeting.recurringItems = [ RecurringItemDescriptor( id='recurringagenda1', title='Approuve le procès-verbal de la séance précédente', description='', category='recurrents', proposingGroup='dirgen', decision='Procès-verbal approuvé'), ] councilMeeting.itemTemplates = [] councilMeeting.itemIconColor = "orange" councilMeeting.initItemDecisionIfEmptyOnDecide = False councilMeeting.meetingPresentItemWhenNoCurrentMeetingStates = ("created", "frozen") councilMeeting.itemBudgetInfosStates = [] data = PloneMeetingConfiguration(meetingFolderTitle='Mes séances', meetingConfigs=( collegeMeeting, councilMeeting, ), orgs=groups) data.usersOutsideGroups = [] data.directory_position_types = list( examples_fr_import_data.data.directory_position_types)