<?xml version="1.0"?>

<form>
  <title>Commande échantillons</title>
  <row_length>4</row_length>
  <name>order_view</name>
  <pt>form_view</pt>
  <action>base_edit</action>
  <method>POST</method>
  <enctype>multipart/form-data</enctype>
  <encoding>UTF-8</encoding>
  <stored_encoding>ISO-8859-1</stored_encoding>
  <unicode_mode>false</unicode_mode>
  <groups>
    <group>
      <title>left</title>
      <fields>

      <field><id>my_id</id> <type>StringField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">10</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <max_length></max_length>
          <required type="int">1</required>
          <title>Commande</title>
          <truncate type="int">0</truncate>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_long">Too much input was given.</message>
        </messages>
      </field>
      <field><id>my_destination_title</id> <type>RelationStringField</type>
        <values>
          <alternate_name></alternate_name>
          <base_category>destination</base_category>
          <catalog_index>Title</catalog_index>
          <css_class></css_class>
          <default></default>
          <default_module>organisation</default_module>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">20</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <jump_method>base_jump_relation</jump_method>
          <max_length></max_length>
          <portal_type type="list">[('Organisation', 'Organisation')]</portal_type>
          <required type="int">0</required>
          <title>Client</title>
          <truncate type="int">0</truncate>
          <unicode type="int">0</unicode>
          <update_method>base_update_relation</update_method>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_long">Too much input was given.</message>
        </messages>
      </field>
      <field><id>my_buyer_title</id> <type>RelationStringField</type>
        <values>
          <alternate_name></alternate_name>
          <base_category>contact</base_category>
          <catalog_index>Title</catalog_index>
          <css_class></css_class>
          <default></default>
          <default_module>person</default_module>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">20</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <jump_method>base_jump_relation</jump_method>
          <max_length></max_length>
          <portal_type type="list">[('Person', 'Person')]</portal_type>
          <required type="int">0</required>
          <title>Acheteur</title>
          <truncate type="int">0</truncate>
          <unicode type="int">0</unicode>
          <update_method>base_update_relation</update_method>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_long">Too much input was given.</message>
        </messages>
      </field>
      <field><id>my_description</id> <type>TextAreaField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <height type="int">1</height>
          <hidden type="int">0</hidden>
          <max_length></max_length>
          <max_linelength></max_linelength>
          <max_lines></max_lines>
          <required type="int">0</required>
          <title>Rayon</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
          <width type="int">30</width>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_many_lines">You entered too many lines.</message>
          <message name="line_too_long">A line was too long.</message>
          <message name="too_long">You entered too many characters.</message>
        </messages>
      </field>
      <field><id>my_themes</id> <type>TextAreaField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <height type="int">3</height>
          <hidden type="int">0</hidden>
          <max_length></max_length>
          <max_linelength></max_linelength>
          <max_lines></max_lines>
          <required type="int">0</required>
          <title>Themes</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
          <width type="int">30</width>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_many_lines">You entered too many lines.</message>
          <message name="line_too_long">A line was too long.</message>
          <message name="too_long">You entered too many characters.</message>
        </messages>
      </field>
      </fields>
    </group>
    <group>
      <title>right</title>
      <fields>

      <field><id>my_samples_order_type</id> <type>ListField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <extra_item></extra_item>
          <first_item type="int">0</first_item>
          <hidden type="int">0</hidden>
          <items type="list">[]</items>
          <required type="int">0</required>
          <size type="int">1</size>
          <title>Type de commande</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <items>here/portal_categories/samples_order_type/getFormItemList</items>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="unknown_selection">You selected an item that was not in the list.</message>
        </messages>
      </field>
      <field><id>my_commande_origine</id> <type>ListField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <extra_item></extra_item>
          <first_item type="int">0</first_item>
          <hidden type="int">0</hidden>
          <items type="list">[]</items>
          <required type="int">0</required>
          <size type="int">1</size>
          <title>Origine de la commande</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <items>here/portal_categories/commande_origine/getFormItemList</items>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="unknown_selection">You selected an item that was not in the list.</message>
        </messages>
      </field>
      <field><id>my_date_rdv</id> <type>DateTimeField</type>
        <values>
          <allow_empty_time type="int">0</allow_empty_time>
          <alternate_name></alternate_name>
          <ampm_time_style type="int">0</ampm_time_style>
          <css_class></css_class>
          <date_only type="int">1</date_only>
          <date_separator>/</date_separator>
          <default_now type="int">0</default_now>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <hidden type="int">0</hidden>
          <input_order>dmy</input_order>
          <input_style>text</input_style>
          <required type="int">0</required>
          <time_separator>:</time_separator>
          <title>Commande reçue le</title>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_datetime">You did not enter a valid date and time.</message>
          <message name="datetime_out_of_range">The date and time you entered were out of range.</message>
        </messages>
      </field>
      <field><id>my_collection</id> <type>ListField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <extra_item></extra_item>
          <first_item type="int">0</first_item>
          <hidden type="int">0</hidden>
          <items type="list">[]</items>
          <required type="int">0</required>
          <size type="int">1</size>
          <title>Collection</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <items>here/portal_categories/collection/getFormItemList</items>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="unknown_selection">You selected an item that was not in the list.</message>
        </messages>
      </field>
      <field><id>my_start_date</id> <type>DateTimeField</type>
        <values>
          <allow_empty_time type="int">0</allow_empty_time>
          <alternate_name></alternate_name>
          <ampm_time_style type="int">0</ampm_time_style>
          <css_class></css_class>
          <date_only type="int">1</date_only>
          <date_separator>/</date_separator>
          <default_now type="int">0</default_now>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <hidden type="int">0</hidden>
          <input_order>dmy</input_order>
          <input_style>text</input_style>
          <required type="int">0</required>
          <time_separator>:</time_separator>
          <title>Livrer à partir du</title>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_datetime">You did not enter a valid date and time.</message>
          <message name="datetime_out_of_range">The date and time you entered were out of range.</message>
        </messages>
      </field>
      <field><id>my_stop_date</id> <type>DateTimeField</type>
        <values>
          <allow_empty_time type="int">0</allow_empty_time>
          <alternate_name></alternate_name>
          <ampm_time_style type="int">0</ampm_time_style>
          <css_class></css_class>
          <date_only type="int">1</date_only>
          <date_separator>/</date_separator>
          <default_now type="int">0</default_now>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <hidden type="int">0</hidden>
          <input_order>dmy</input_order>
          <input_style>text</input_style>
          <required type="int">0</required>
          <time_separator>:</time_separator>
          <title>Livrer avant le</title>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_datetime">You did not enter a valid date and time.</message>
          <message name="datetime_out_of_range">The date and time you entered were out of range.</message>
        </messages>
      </field>
      <field><id>order_state</id> <type>StringField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">20</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <max_length></max_length>
          <required type="int">0</required>
          <title>Etat</title>
          <truncate type="int">0</truncate>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <default>python:here.portal_workflow.getInfoFor(here, 'order_state')</default>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_long">Too much input was given.</message>
        </messages>
      </field>
      </fields>
    </group>
    <group>
      <title>center</title>
      <fields>

      <field><id>my_commentaires</id> <type>TextAreaField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <height type="int">3</height>
          <hidden type="int">0</hidden>
          <max_length></max_length>
          <max_linelength></max_linelength>
          <max_lines></max_lines>
          <required type="int">0</required>
          <title>Commentaires</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
          <width type="int">80</width>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="too_many_lines">You entered too many lines.</message>
          <message name="line_too_long">A line was too long.</message>
          <message name="too_long">You entered too many characters.</message>
        </messages>
      </field>
      </fields>
    </group>
    <group>
      <title>bottom</title>
      <fields>

      <field><id>listbox</id> <type>ListBox</type>
        <values>
          <all_columns type="list">[('id', 'Ligne'), ('Description', 'Description'), ('getResourceRelativeUrl', 'Composant'), ('quantity', 'Quantit\xe9'), ('quantity_unit', 'Unit\xe9'), ('theme', 'Theme'), ('sort_index', 'Ordre')]</all_columns>
          <all_editable_columns type="list">[('quantity', 'Quantit\xe9'), ('quantity_unit', 'Unit\xe9')]</all_editable_columns>
          <alternate_name></alternate_name>
          <columns type="list">[('id', 'Ligne'), ('Description', 'Description'), ('getResourceRelativeUrl', 'Composant'), ('quantity', 'Quantit\xe9'), ('quantity_unit', 'Unit\xe9'), ('theme', 'Theme'), ('sort_index', 'Ordre')]</columns>
          <css_class></css_class>
          <default></default>
          <default_params type="list">[]</default_params>
          <description></description>
          <domain_root_list type="list">[]</domain_root_list>
          <domain_tree type="int">0</domain_tree>
          <editable type="int">1</editable>
          <editable_columns type="list">[('quantity', 'Quantit\xe9'), ('quantity_unit', 'Unit\xe9'), ('theme', 'Theme'), ('sort_index', 'Ordre')]</editable_columns>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <global_attributes type="list">[]</global_attributes>
          <hidden type="int">0</hidden>
          <lines type="int">10</lines>
          <list_action>sample_order_line_list</list_action>
          <list_method type="method">searchFolder</list_method>
          <meta_types type="list">[]</meta_types>
          <portal_types type="list">[('Sample Order Line', 'Sample Order Line')]</portal_types>
          <report_root_list type="list">[]</report_root_list>
          <report_tree type="int">0</report_tree>
          <search type="int">0</search>
          <search_columns></search_columns>
          <select type="int">0</select>
          <selection_name>order_line_selection</selection_name>
          <sort type="list">[('id', 'id')]</sort>
          <sort_columns></sort_columns>
          <stat_method></stat_method>
          <title>Lignes de commande</title>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
        </messages>
      </field>
      </fields>
    </group>
    <group>
      <title>hidden</title>
      <fields>

      <field><id>listbox_quantity</id> <type>FloatField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">5</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <required type="int">0</required>
          <title>listbox_quantity</title>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_float">You did not enter a floating point number.</message>
        </messages>
      </field>
      <field><id>listbox_quantity_unit</id> <type>ListField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <extra_item></extra_item>
          <first_item type="int">0</first_item>
          <hidden type="int">0</hidden>
          <items type="list">[]</items>
          <required type="int">0</required>
          <size type="int">1</size>
          <title>Unité</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <items>here/portal_categories/quantity_unit/getFormItemList</items>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="unknown_selection">You selected an item that was not in the list.</message>
        </messages>
      </field>
      <field><id>listbox_sort_index</id> <type>IntegerField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">5</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <end></end>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <required type="int">0</required>
          <start></start>
          <title>Ordre</title>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_integer">You did not enter an integer.</message>
          <message name="integer_out_of_range">The integer you entered was out of range.</message>
        </messages>
      </field>
      <field><id>listbox_theme_index</id> <type>IntegerField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <display_maxwidth></display_maxwidth>
          <display_width type="int">20</display_width>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <end></end>
          <external_validator></external_validator>
          <extra></extra>
          <hidden type="int">0</hidden>
          <required type="int">0</required>
          <start></start>
          <title>listbox_theme_index</title>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="not_integer">You did not enter an integer.</message>
          <message name="integer_out_of_range">The integer you entered was out of range.</message>
        </messages>
      </field>
      <field><id>listbox_theme</id> <type>ListField</type>
        <values>
          <alternate_name></alternate_name>
          <css_class></css_class>
          <default></default>
          <description></description>
          <editable type="int">1</editable>
          <enabled type="int">1</enabled>
          <external_validator></external_validator>
          <extra></extra>
          <extra_item></extra_item>
          <first_item type="int">0</first_item>
          <hidden type="int">0</hidden>
          <items type="list">[]</items>
          <required type="int">0</required>
          <size type="int">1</size>
          <title>listbox_theme</title>
          <unicode type="int">0</unicode>
          <whitespace_preserve type="int">0</whitespace_preserve>
        </values>
        <tales>
          <items>python:[""]+here.getThemes().split("\n")</items>
        </tales>
        <messages>
          <message name="external_validator_failed">The input failed the external validator.</message>
          <message name="required_not_found">Input is required but no input given.</message>
          <message name="unknown_selection">You selected an item that was not in the list.</message>
        </messages>
      </field>
      </fields>
    </group>
  </groups>
</form>