Commit c99565d6 authored by Jérome Perrin's avatar Jérome Perrin

Add some better columns for relationfields listbox. Use "proxy_listbox_ids"

feature to reuse Organisations and Persons listboxs
fix destination_section_title who was using all nodes and not only
Organisation/Person


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23080 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 513ba3cc
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The person or organisation in charge of selecting the supplier or taking the decision to place the order.</string> </value> <value> <string>The person or organisation in charge of selecting the supplier or taking the decision to place the order.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
<list> <list>
<string>title</string> <string>title</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,8 +78,35 @@ ...@@ -76,8 +78,35 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>description</string> </key> <key> <string>columns</string> </key>
<value> <string>The organisation or person in charge of paying for the client.</string> </value> <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> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
...@@ -102,6 +131,21 @@ ...@@ -102,6 +131,21 @@
</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> <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>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -82,6 +84,37 @@ ...@@ -82,6 +84,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The invoiced person or organisation.</string> </value> <value> <string>The invoiced person or organisation.</string> </value>
...@@ -99,8 +132,27 @@ ...@@ -99,8 +132,27 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>Node Group</string> <string>Organisation</string>
<string>Node Group</string> <string>Organisation</string>
</tuple>
<tuple>
<string>Person</string>
<string>Person</string>
</tuple>
</list>
</value>
</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> </tuple>
</list> </list>
</value> </value>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The organisation or person to whom merchandise or service is delivered over or provided to.</string> </value> <value> <string>The organisation or person to whom merchandise or service is delivered over or provided to.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The person or organisation in charge of sending the invoice or handling administrative paperwork for the supplier.</string> </value> <value> <string>The person or organisation in charge of sending the invoice or handling administrative paperwork for the supplier.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The person or organisation in charge of handling the sales process or of taking the sales decision.</string> </value> <value> <string>The person or organisation in charge of handling the sales process or of taking the sales decision.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The invoicing person or organisation.</string> </value> <value> <string>The invoicing person or organisation.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>columns</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -76,6 +78,37 @@ ...@@ -76,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>description</string> </key> <key> <string>description</string> </key>
<value> <string>The organisation or person who sends merchandise or provides service.</string> </value> <value> <string>The organisation or person who sends merchandise or provides service.</string> </value>
...@@ -103,6 +136,21 @@ ...@@ -103,6 +136,21 @@
</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> <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>
......
468 469
\ 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