<type_roles>
  <role id='Auditor'>
   <property id='title'>Friends of the trade condition</property>
   <property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') != '')</property>
   <property id='base_category_script'>SaleTradeConditionType_getSecurityCategoryFromOpenSaleOrder</property>
   <multi_property id='base_category'>destination_section</multi_property>
  </role>
  <role id='Assignor'>
   <property id='title'>Group company</property>
   <multi_property id='category'>group/company</multi_property>
   <multi_property id='base_category'>group</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Instance</property>
   <property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') == '')</property>
   <multi_property id='category'>role/instance</multi_property>
   <multi_property id='base_category'>role</multi_property>
  </role>
  <role id='Auditor'>
   <property id='title'>Member</property>
   <property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') == '')</property>
   <multi_property id='category'>role/member</multi_property>
   <multi_property id='base_category'>role</multi_property>
  </role>
  <role id='Assignor'>
   <property id='title'>Provider of the trade condition</property>
   <property id='condition'>python: (here.getValidationState() == 'validated') and (here.getSourceSection('') != '')</property>
   <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
   <multi_property id='base_category'>source_section</multi_property>
  </role>
</type_roles>