<type_roles>
  <role id='Auditor'>
   <property id='title'>Accountant</property>
   <multi_property id='categories'>local_role_group/function</multi_property>
   <multi_property id='category'>function/accounting*</multi_property>
   <multi_property id='base_category'>function</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Destination Member</property>
   <property id='condition'>python: (context.getValidationState() == 'validated') and (context.getDestination('', portal_type='Person') != "")
</property>
   <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
   <multi_property id='categories'>local_role_group/user</multi_property>
   <multi_property id='base_category'>destination</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Destination Project Member</property>
   <property id='condition'>python: (context.getValidationState() == 'validated') and (context.getDestination('') == "") and (context.getDestinationProject('') != "")
</property>
   <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
   <multi_property id='categories'>local_role_group/project</multi_property>
   <multi_property id='base_category'>destination_project</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Global for all Customers</property>
   <property id='condition'>python: (context.getValidationState() == 'validated') and (context.getDestination('') == "") and (context.getDestinationProject('') == "")
</property>
   <multi_property id='categories'>local_role_group/function</multi_property>
   <multi_property id='category'>function/customer</multi_property>
   <multi_property id='base_category'>function</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Person Shadow</property>
   <multi_property id='categories'>local_role_group/shadow</multi_property>
   <multi_property id='category'>role/shadow/person</multi_property>
   <multi_property id='base_category'>role</multi_property>
  </role>
  <role id='Assignee'>
   <property id='title'>Sale Agent</property>
   <multi_property id='categories'>local_role_group/function</multi_property>
   <multi_property id='category'>function/sale/agent</multi_property>
   <multi_property id='base_category'>function</multi_property>
  </role>
  <role id='Assignor'>
   <property id='title'>Sale Manager</property>
   <multi_property id='categories'>local_role_group/function</multi_property>
   <multi_property id='category'>function/sale/manager</multi_property>
   <multi_property id='base_category'>function</multi_property>
  </role>
</type_roles>