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

crm/officejs_support_request_ui: remove search & sort columns from ticket module listboxs

Let the catalog decide what can be searched and sorted, instead of
duplicating the list of column. It has same effect and is easier to maintain.
parent ccc5306e
......@@ -15,9 +15,7 @@
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
<string>search_columns</string>
<string>selection_name</string>
<string>sort_columns</string>
<string>title</string>
</list>
</value>
......@@ -254,184 +252,10 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>destination_section_title</string>
<string>Client</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>source_section_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Operations Manager</string>
</tuple>
<tuple>
<string>destination_title</string>
<string>Location</string>
</tuple>
<tuple>
<string>delivery.start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>End Date</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Type</string>
</tuple>
<tuple>
<string>source_trade_title</string>
<string>Operator</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit_title</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Unit Price</string>
</tuple>
<tuple>
<string>price_currency_title</string>
<string>Currency</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Creation Date</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
<tuple>
<string>owner_title</string>
<string>Owner</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>ticket_selection</string> </value>
</item>
<item>
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>destination_section_title</string>
<string>Client</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>source_section_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Operations Manager</string>
</tuple>
<tuple>
<string>destination_title</string>
<string>Location</string>
</tuple>
<tuple>
<string>delivery.start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>End Date</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Type</string>
</tuple>
<tuple>
<string>source_trade_title</string>
<string>Operator</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit_title</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Unit Price</string>
</tuple>
<tuple>
<string>price_currency_title</string>
<string>Currency</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Creation Date</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
<tuple>
<string>owner_title</string>
<string>Owner</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......
......@@ -255,207 +255,13 @@
<item>
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Support Request Type</string>
</tuple>
<tuple>
<string>causality_translated_portal_type</string>
<string>Channel</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Operations Manager</string>
</tuple>
<tuple>
<string>delivery.start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>End Date</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
<tuple>
<string>destination_section_title</string>
<string>Client</string>
</tuple>
<tuple>
<string>source_section_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>destination_title</string>
<string>Location</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Type</string>
</tuple>
<tuple>
<string>source_trade_title</string>
<string>Operator</string>
</tuple>
<tuple>
<string>quantity_unit_title</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price_currency_title</string>
<string>Currency</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>destination_decision_reference</string>
<string>Requester Reference</string>
</tuple>
<tuple>
<string>destination_project_title</string>
<string>Requested Project</string>
</tuple>
<tuple>
<string>source_project_title</string>
<string>Handled Project</string>
</tuple>
<tuple>
<string>owner_title</string>
<string>Owner</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Creation Date</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Support Request Type</string>
</tuple>
<tuple>
<string>causality_translated_portal_type</string>
<string>Channel</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Operations Manager</string>
</tuple>
<tuple>
<string>delivery.start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>End Date</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
<tuple>
<string>destination_section_title</string>
<string>Client</string>
</tuple>
<tuple>
<string>source_section_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>destination_title</string>
<string>Location</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Type</string>
</tuple>
<tuple>
<string>source_trade_title</string>
<string>Operator</string>
</tuple>
<tuple>
<string>quantity_unit_title</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price_currency_title</string>
<string>Currency</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>destination_decision_reference</string>
<string>Requester Reference</string>
</tuple>
<tuple>
<string>destination_project_title</string>
<string>Requested Project</string>
</tuple>
<tuple>
<string>source_project_title</string>
<string>Handled Project</string>
</tuple>
<tuple>
<string>owner_title</string>
<string>Owner</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Creation Date</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
......
......@@ -118,18 +118,10 @@
<key> <string>portal_types</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>search_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>sort</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>sort_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -349,84 +341,7 @@
<item>
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>destination_section_title</string>
<string>Client</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>destination_decision_language</string>
<string>Requester Language</string>
</tuple>
<tuple>
<string>source_section_title</string>
<string>Supplier</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Operations Manager</string>
</tuple>
<tuple>
<string>destination_title</string>
<string>Location</string>
</tuple>
<tuple>
<string>start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Support Request Type</string>
</tuple>
<tuple>
<string>causality_translated_portal_type</string>
<string>Channel</string>
</tuple>
<tuple>
<string>source_trade_title</string>
<string>Operator</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit_title</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Unit Price</string>
</tuple>
<tuple>
<string>price_currency_title</string>
<string>Currency</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Creation Date</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
......
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