Commit 49f24b8b authored by Alexandre Boeglin's avatar Alexandre Boeglin

The aggregate title field should be a Multi Relation Field. There can be more...

The aggregate title field should be a Multi Relation Field. There can be more than one aggregated item.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20928 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 295cb675
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<list> <list>
<string>my_title</string> <string>my_title</string>
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_aggregate_title</string> <string>my_aggregate_title_list</string>
<string>my_variation_category_list</string> <string>my_variation_category_list</string>
<string>my_amortisation_method</string> <string>my_amortisation_method</string>
</list> </list>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_variation_category_list</string> <string>my_variation_category_list</string>
<string>my_amortisation_method</string> <string>my_amortisation_method</string>
<string>my_aggregate_title_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<string>my_reference</string> <string>my_reference</string>
<string>my_int_index</string> <string>my_int_index</string>
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_aggregate_title</string> <string>my_aggregate_title_list</string>
<string>my_variation_category_list</string> <string>my_variation_category_list</string>
<string>my_amortisation_method</string> <string>my_amortisation_method</string>
<string>my_source_trade_title_list</string> <string>my_source_trade_title_list</string>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<string>my_int_index</string> <string>my_int_index</string>
<string>my_source_title</string> <string>my_source_title</string>
<string>my_order_sub_lines_listbox</string> <string>my_order_sub_lines_listbox</string>
<string>my_aggregate_title</string> <string>my_aggregate_title_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -21,14 +21,13 @@ ...@@ -21,14 +21,13 @@
<list> <list>
<string>title</string> <string>title</string>
<string>portal_type</string> <string>portal_type</string>
<string>items</string>
<string>enabled</string> <string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -78,16 +77,10 @@ ...@@ -78,16 +77,10 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -111,25 +104,19 @@ ...@@ -111,25 +104,19 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_relation_field</string> </value> <value> <string>my_multi_relation_field</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<string>Resource</string> <string>(tales)</string>
<string>Resource</string> <string>(tales)</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -140,7 +127,7 @@ ...@@ -140,7 +127,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Item</string> </value> <value> <string>Items</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
...@@ -165,22 +152,6 @@ ...@@ -165,22 +152,6 @@
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>REQUEST/relation_item_list</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<string>my_reference</string> <string>my_reference</string>
<string>my_int_index</string> <string>my_int_index</string>
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_aggregate_title</string> <string>my_aggregate_title_list</string>
<string>my_variation_category_list</string> <string>my_variation_category_list</string>
<string>my_amortisation_method</string> <string>my_amortisation_method</string>
</list> </list>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
<string>my_source_title</string> <string>my_source_title</string>
<string>my_start_date</string> <string>my_start_date</string>
<string>my_stop_date</string> <string>my_stop_date</string>
<string>my_aggregate_title</string> <string>my_aggregate_title_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_aggregate_title</string> </value> <value> <string>my_aggregate_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
355 357
\ 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