diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_getCurrencyItemList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_getCurrencyItemList.xml index ad900f4ddd8fdf431b83ce3c8529faafeecdd2cd..4e64601886d2021656314e8de6ba67cdcb7b778b 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_getCurrencyItemList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_getCurrencyItemList.xml @@ -74,29 +74,29 @@ portal = context.getPortalObject() \n currency_module = getattr(portal, \'currency_module\', getattr(portal, \'currency\', None))\n \n for currency in currency_module.objectValues() : \n - # for currency, we intentionaly use id (EUR) not title (Euros).\n - result.append((currency.id, currency.getRelativeUrl()))\n + # for currency, we intentionaly use reference (EUR) not title (Euros).\n + result.append((currency.getReference(), currency.getRelativeUrl()))\n return result\n </string> </value> </item> <item> <key> <string>_code</string> </key> <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGQBAGQCAIQBAFoAAGQAAFMoAwAAAE5pAQAAAGMBAAAACgAA -AA0AAABDAAAAc6kAAABnAAB9AQB8AABvEwABZAEAZAEAZwIAZwEAfQEAbgEAAXQCAHQDAGQCAIMC -AIMAAH0EAHQFAHwEAGQDAHQFAHwEAGQEAHQGAIMDAIMDAH0HAHhOAHQIAHQCAHwHAGQFAIMCAIMA -AIMBAERdNAB9CQB0AgB8AQBkBgCDAgB0AgB8CQBkBwCDAgB0AgB8CQBkCACDAgCDAABmAgCDAQAB -cWkAV3wBAFNkAABTKAkAAABOcwAAAABzDwAAAGdldFBvcnRhbE9iamVjdHMPAAAAY3VycmVuY3lf -bW9kdWxlcwgAAABjdXJyZW5jeXMMAAAAb2JqZWN0VmFsdWVzcwYAAABhcHBlbmRzAgAAAGlkcw4A -AABnZXRSZWxhdGl2ZVV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wYAAABhcHBlbmRzDAAAAGdl +dFJlZmVyZW5jZXMOAAAAZ2V0UmVsYXRpdmVVcmwoCgAAAHMGAAAAcmVzdWx0cw0AAABpbmNsdWRl +X2VtcHR5cwkAAABfZ2V0YXR0cl9zBwAAAGNvbnRleHRzBgAAAHBvcnRhbHMHAAAAZ2V0YXR0cnME +AAAATm9uZXMPAAAAY3VycmVuY3lfbW9kdWxlcwkAAABfZ2V0aXRlcl9zCAAAAGN1cnJlbmN5KAoA +AABzDQAAAGluY2x1ZGVfZW1wdHlzBgAAAHJlc3VsdHMJAAAAX2dldGF0dHJfcwcAAABjb250ZXh0 +cwYAAABwb3J0YWxzBwAAAGdldGF0dHJzBAAAAE5vbmVzDwAAAGN1cnJlbmN5X21vZHVsZXMJAAAA +X2dldGl0ZXJfcwgAAABjdXJyZW5jeSgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMiAAAA +Q3VycmVuY3lNb2R1bGVfZ2V0Q3VycmVuY3lJdGVtTGlzdAEAAABzEAAAAAYBBwETAhIBHgIZAAkC +MgEoAQAAAHMiAAAAQ3VycmVuY3lNb2R1bGVfZ2V0Q3VycmVuY3lJdGVtTGlzdCgBAAAAcyIAAABD +dXJyZW5jeU1vZHVsZV9nZXRDdXJyZW5jeUl0ZW1MaXN0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQ +eXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value> </item> <item> <key> <string>_filepath</string> </key> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_viewCurrencyList/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_viewCurrencyList/listbox.xml index 1f2ee650030e23bdae149b88105161152a51b966..7a5724419c9cd3866e7db928b8016eedd01f9938 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_viewCurrencyList/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CurrencyModule_viewCurrencyList/listbox.xml @@ -337,6 +337,10 @@ <string>id</string> <string>ID</string> </tuple> + <tuple> + <string>reference</string> + <string>Currency Code</string> + </tuple> <tuple> <string>title</string> <string>Title</string> @@ -454,7 +458,20 @@ <item> <key> <string>search_columns</string> </key> <value> - <list/> + <list> + <tuple> + <string>id</string> + <string>ID</string> + </tuple> + <tuple> + <string>reference</string> + <string>Currency Code</string> + </tuple> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + </list> </value> </item> <item> @@ -479,7 +496,20 @@ <item> <key> <string>sort_columns</string> </key> <value> - <list/> + <list> + <tuple> + <string>id</string> + <string>ID</string> + </tuple> + <tuple> + <string>reference</string> + <string>Currency Code</string> + </tuple> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + </list> </value> </item> <item> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view.xml index e923fe3e2f2b65f68ae262de2e02276273dace6f..bf1d3ab3e6b431e19f8eca26658ddc32df02df14 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view.xml @@ -100,7 +100,7 @@ <key> <string>left</string> </key> <value> <list> - <string>my_id</string> + <string>my_reference</string> <string>my_title</string> </list> </value> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_id.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_reference.xml similarity index 98% rename from product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_id.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_reference.xml index 4933609a7c767df6f7926cf16b661c2e65be14b8..c34712484f43080b936d0d7e2a054cd87651ea1a 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_id.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Currency_view/my_reference.xml @@ -14,7 +14,7 @@ <dictionary> <item> <key> <string>id</string> </key> - <value> <string>my_id</string> </value> + <value> <string>my_reference</string> </value> </item> <item> <key> <string>message_values</string> </key> @@ -243,7 +243,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>ID</string> </value> + <value> <string>Currency Code</string> </value> </item> <item> <key> <string>truncate</string> </key>