Commit 3dbf01e0 authored by Fabien Morin's avatar Fabien Morin

add customer reference on main view, remove quality_reference and...

add customer reference on main view, remove quality_reference and drawing_reference replacing them by reference. Remove some properties not catalogued from listbox sortable and searchable column.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30324 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea2a30cf
...@@ -45,14 +45,6 @@ class ApparelFabric: ...@@ -45,14 +45,6 @@ class ApparelFabric:
'description' : 'Number of colours', 'description' : 'Number of colours',
'type' : 'int', 'type' : 'int',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'quality_reference',
'description' : 'The quality of the fabric characterize the support of the fabric',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'drawing_reference',
'description' : 'Drawing reference from the fabric supplier ',
'type' : 'string',
'mode' : 'w' },
# Override default value XXX # Override default value XXX
{ 'id' : 'p_variation_base_category', { 'id' : 'p_variation_base_category',
'description' : 'A list of base categories which define possible discrete variations. '\ 'description' : 'A list of base categories which define possible discrete variations. '\
......
...@@ -612,18 +612,6 @@ ...@@ -612,18 +612,6 @@
<string>description</string> <string>description</string>
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple>
<string>purchase_supply_line_source_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>purchase_supply_line_source_reference</string>
<string>Supplier Reference</string>
</tuple>
<tuple>
<string>resource_translated_title</string>
<string>Component Type</string>
</tuple>
<tuple> <tuple>
<string>translated_validation_state_title</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
...@@ -662,18 +650,6 @@ ...@@ -662,18 +650,6 @@
<string>description</string> <string>description</string>
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple>
<string>purchase_supply_line_source_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>purchase_supply_line_source_reference</string>
<string>Supplier Reference</string>
</tuple>
<tuple>
<string>resource_translated_title</string>
<string>Component Type</string>
</tuple>
<tuple> <tuple>
<string>translated_validation_state_title</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
......
...@@ -347,12 +347,12 @@ ...@@ -347,12 +347,12 @@
<string>Supplier</string> <string>Supplier</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quality_reference</string> <string>reference</string>
<string>Quality Reference</string> <string>Internal Reference</string>
</tuple> </tuple>
<tuple> <tuple>
<string>drawing_reference</string> <string>purchase_supply_line_source_reference</string>
<string>Drawing Reference</string> <string>Supplier Reference</string>
</tuple> </tuple>
<tuple> <tuple>
<string>apparel_fabric_template_title</string> <string>apparel_fabric_template_title</string>
...@@ -440,12 +440,12 @@ ...@@ -440,12 +440,12 @@
<string>Supplier</string> <string>Supplier</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quality_reference</string> <string>reference</string>
<string>Quality Reference</string> <string>Internal Reference</string>
</tuple> </tuple>
<tuple> <tuple>
<string>drawing_reference</string> <string>purchase_supply_line_source_reference</string>
<string>Drawing Reference</string> <string>Supplier Reference</string>
</tuple> </tuple>
<tuple> <tuple>
<string>resource_translated_title</string> <string>resource_translated_title</string>
...@@ -641,20 +641,8 @@ ...@@ -641,20 +641,8 @@
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple> <tuple>
<string>purchase_supply_line_source_title</string> <string>reference</string>
<string>Supplier</string> <string>Internal Reference</string>
</tuple>
<tuple>
<string>quality_reference</string>
<string>Quality Reference</string>
</tuple>
<tuple>
<string>drawing_reference</string>
<string>Drawing Reference</string>
</tuple>
<tuple>
<string>resource_translated_title</string>
<string>Fabric Type</string>
</tuple> </tuple>
<tuple> <tuple>
<string>visual_pattern_title</string> <string>visual_pattern_title</string>
...@@ -699,20 +687,12 @@ ...@@ -699,20 +687,12 @@
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple> <tuple>
<string>purchase_supply_line_source_title</string> <string>reference</string>
<string>Supplier</string> <string>Internal Reference</string>
</tuple>
<tuple>
<string>quality_reference</string>
<string>Quality Reference</string>
</tuple> </tuple>
<tuple> <tuple>
<string>drawing_reference</string> <string>purchase_supply_line_source_reference</string>
<string>Drawing Reference</string> <string>Supplier Reference</string>
</tuple>
<tuple>
<string>resource_translated_title</string>
<string>Fabric Type</string>
</tuple> </tuple>
<tuple> <tuple>
<string>visual_pattern_translated_title</string> <string>visual_pattern_translated_title</string>
......
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
<value> <value>
<list> <list>
<string>my_title</string> <string>my_title</string>
<string>my_quality_reference</string> <string>my_reference</string>
<string>my_drawing_reference</string> <string>my_purchase_supply_line_source_reference</string>
<string>my_resource</string> <string>my_resource</string>
<string>my_visual_pattern</string> <string>my_visual_pattern</string>
<string>my_quantity_unit_list</string> <string>my_quantity_unit_list</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_purchase_supply_line_source_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_source_reference</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewPDMFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_drawing_reference</string> </value> <value> <string>my_reference</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>20</int> </value> <value> <int>30</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Drawing Reference</string> </value> <value> <string>Internal Reference</string> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>truncate</string> </key>
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>20</int> </value> <value> <int>30</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
135 138
\ No newline at end of file \ No newline at end of file
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