Commit 9660871e authored by Jérome Perrin's avatar Jérome Perrin

* uses proxy fields for accounting transaction line view

* use proxy listbox ids and columns in all relation fields
* delegate more things that were not delegated by mistake

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26615 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 342fb5d8
...@@ -12,9 +12,7 @@ ...@@ -12,9 +12,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>default</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -74,12 +72,6 @@ ...@@ -74,12 +72,6 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>default</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_destination_title_list</string> </value> <value> <string>my_destination_title_list</string> </value>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<string>base_category</string> <string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -75,10 +76,6 @@ ...@@ -75,10 +76,6 @@
<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>height</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -133,6 +130,17 @@ ...@@ -133,6 +130,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -362,11 +362,26 @@ ...@@ -362,11 +362,26 @@
<list> <list>
<tuple> <tuple>
<string>Account</string> <string>Account</string>
<string>account</string> <string>Account</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -362,11 +362,26 @@ ...@@ -362,11 +362,26 @@
<list> <list>
<tuple> <tuple>
<string>Account</string> <string>Account</string>
<string>account</string> <string>Account</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -377,7 +377,32 @@ ...@@ -377,7 +377,32 @@
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>title</string>
<string>Usual Name</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>getDefaultTelephoneText</string>
<string>Telephone</string>
</tuple>
<tuple>
<string>getDefaultAddressText</string>
<string>Address</string>
</tuple>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -488,6 +513,25 @@ ...@@ -488,6 +513,25 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>OrganisationModule_viewOrganisationList/listbox</string>
<string>Organisations</string>
</tuple>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Persons</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -317,7 +317,32 @@ ...@@ -317,7 +317,32 @@
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>title</string>
<string>Usual Name</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>getDefaultTelephoneText</string>
<string>Telephone</string>
</tuple>
<tuple>
<string>getDefaultAddressText</string>
<string>Address</string>
</tuple>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -428,6 +453,25 @@ ...@@ -428,6 +453,25 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>OrganisationModule_viewOrganisationList/listbox</string>
<string>Organisations</string>
</tuple>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Persons</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -367,6 +367,21 @@ ...@@ -367,6 +367,21 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -362,11 +362,26 @@ ...@@ -362,11 +362,26 @@
<list> <list>
<tuple> <tuple>
<string>Account</string> <string>Account</string>
<string>account</string> <string>Account</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -367,6 +367,21 @@ ...@@ -367,6 +367,21 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -367,6 +367,21 @@ ...@@ -367,6 +367,21 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>AccountModule_viewAccountList/listbox</string>
<string>Accounts</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>relation_form_id</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>relation_setter_id</string> </key> <key> <string>relation_setter_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>catalog_index</string>
<string>base_category</string> <string>base_category</string>
</list> </list>
</value> </value>
...@@ -79,14 +78,6 @@ ...@@ -79,14 +78,6 @@
<key> <string>base_category</string> </key> <key> <string>base_category</string> </key>
<value> <string>destination_section</string> </value> <value> <string>destination_section</string> </value>
</item> </item>
<item>
<key> <string>catalog_index</string> </key>
<value> <string>title</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The title of the third party</string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_destination_section_title</string> </value> <value> <string>my_destination_section_title</string> </value>
...@@ -99,10 +90,6 @@ ...@@ -99,10 +90,6 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string>Third Party</string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<list> <list>
<string>title</string> <string>title</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>parameter_list</string> <string>parameter_list</string>
<string>proxy_listbox_ids</string> <string>proxy_listbox_ids</string>
</list> </list>
...@@ -77,6 +78,37 @@ ...@@ -77,6 +78,37 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Usual Name</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>getDefaultTelephoneText</string>
<string>Telephone</string>
</tuple>
<tuple>
<string>getDefaultAddressText</string>
<string>Address</string>
</tuple>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</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_relation_field</string> </value>
......
900 901
\ 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