Commit 8561f1e5 authored by Romain Courteaud's avatar Romain Courteaud

creation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@207 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0835458
<?xml version="1.0" encoding="iso-8859-1"?>
<form>
<title>Importer</title>
<name>SalesOrder_importEdiForm</name>
<action>SalesOrder_importEdiFiles</action>
<enctype>multipart/form-data</enctype>
<method>POST</method>
<pt>form_dialog</pt>
<groups>
<group>
<title>Default</title>
<fields>
<field><id>my_delivery_mode</id> <type>ListField</type>
<values>
<alternate_name></alternate_name>
<css_class></css_class>
<default></default>
<description></description>
<editable_expression></editable_expression>
<editable_permission></editable_permission>
<editable_role></editable_role>
<external_validator></external_validator>
<extra></extra>
<first_item type="int">0</first_item>
<hidden type="int">0</hidden>
<items type="list">[]</items>
<not_viewable type="int">0</not_viewable>
<read_only type="int">0</read_only>
<required type="int">0</required>
<size type="int">1</size>
<title>Mode de livraison</title>
<unicode type="int">0</unicode>
<viewable_expression></viewable_expression>
<viewable_permission></viewable_permission>
<viewable_role></viewable_role>
<whitespace_preserve type="int">0</whitespace_preserve>
</values>
<tales>
<default>python:here.portal_categories.delivery_mode.getFormItemList()[1][1]</default>
<items>here/portal_categories/delivery_mode/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_incoterm</id> <type>ListField</type>
<values>
<alternate_name></alternate_name>
<css_class></css_class>
<default></default>
<description></description>
<editable_expression></editable_expression>
<editable_permission></editable_permission>
<editable_role></editable_role>
<external_validator></external_validator>
<extra></extra>
<first_item type="int">0</first_item>
<hidden type="int">0</hidden>
<items type="list">[]</items>
<not_viewable type="int">0</not_viewable>
<read_only type="int">0</read_only>
<required type="int">0</required>
<size type="int">1</size>
<title>Incoterm</title>
<unicode type="int">0</unicode>
<viewable_expression></viewable_expression>
<viewable_permission></viewable_permission>
<viewable_role></viewable_role>
<whitespace_preserve type="int">0</whitespace_preserve>
</values>
<tales>
<default>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)[1][1]</default>
<items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</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_order_type</id> <type>ListField</type>
<values>
<alternate_name></alternate_name>
<css_class></css_class>
<default></default>
<description></description>
<editable_expression></editable_expression>
<editable_permission></editable_permission>
<editable_role></editable_role>
<external_validator></external_validator>
<extra></extra>
<first_item>False</first_item>
<hidden>False</hidden>
<items type="list">[]</items>
<not_viewable type="int">0</not_viewable>
<read_only type="int">0</read_only>
<required>False</required>
<size type="int">1</size>
<title>Type de commande</title>
<unicode type="int">0</unicode>
<viewable_expression></viewable_expression>
<viewable_permission></viewable_permission>
<viewable_role></viewable_role>
<whitespace_preserve type="int">0</whitespace_preserve>
</values>
<tales>
<default>python:here.portal_categories.order_type.getFormItemList()[1][1]</default>
<items>here/portal_categories/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_segmentation_strategique</id> <type>ListField</type>
<values>
<alternate_name></alternate_name>
<css_class></css_class>
<default></default>
<description></description>
<editable_expression></editable_expression>
<editable_permission></editable_permission>
<editable_role></editable_role>
<external_validator></external_validator>
<extra></extra>
<first_item type="int">0</first_item>
<hidden type="int">0</hidden>
<items type="list">[]</items>
<not_viewable type="int">0</not_viewable>
<read_only type="int">0</read_only>
<required type="int">0</required>
<size type="int">1</size>
<title>Segmentation</title>
<unicode type="int">0</unicode>
<viewable_expression></viewable_expression>
<viewable_permission></viewable_permission>
<viewable_role></viewable_role>
<whitespace_preserve type="int">0</whitespace_preserve>
</values>
<tales>
<default>python:here.portal_categories.segmentation_strategique.getFormItemList()[1][1]</default>
<items>here/portal_categories/segmentation_strategique/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_travel_duration</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>
<end></end>
<external_validator></external_validator>
<extra></extra>
<hidden>False</hidden>
<required>False</required>
<start></start>
<title>Dure de l'expdition (jours)</title>
</values>
<tales>
<default>python: 0</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="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>
</fields>
</group>
<group>
<title>hidden</title>
<fields>
</fields>
</group>
</groups>
</form>
\ No newline at end of file
<dtml-comment>
title:
connection_id:MySQL
max_rows:1000
max_cache:100
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>organisation_ean
portal_type</params>
SELECT DISTINCT id, relative_url, path, Description
FROM catalog
WHERE portal_type REGEXP "<dtml-var portal_type>"
AND ean13_code = organisation_ean
<dtml-comment>
title:
connection_id:MySQL
max_rows:1000
max_cache:100
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>title
portal_type</params>
SELECT DISTINCT id, relative_url, path, Description
FROM catalog
WHERE portal_type = "<dtml-var portal_type>"
AND Title REGEXP "<dtml-var title>"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment