diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view.xml index 6e0cc7698bb5109013276c9149fb19cfc82f3be5..1f2e72baf01bbff13320eeafaa01ef9e8ece77ec 100755 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view.xml @@ -90,8 +90,8 @@ <key> <string>left</string> </key> <value> <list> - <string>my_id</string> <string>my_title</string> + <string>my_source_reference</string> <string>my_description</string> <string>my_source_section_title</string> <string>my_destination_section_title</string> @@ -107,7 +107,7 @@ <string>my_target_stop_date</string> <string>my_gross_salary</string> <string>my_resource</string> - <string>simulation_state</string> + <string>my_translated_simulation_state_title</string> </list> </value> </item> diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_resource.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_resource.xml index d62655da8062acb5804022885be8d610149cd791..52b44b895b6e2c6e97576a6800573bc1c00c0fdc 100755 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_resource.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_resource.xml @@ -281,7 +281,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:[(\'\',\'\')]+map(lambda x:(x.id,\'currency/%s\' %x.id),here.currency.objectValues())</string> </value> + <value> <string>python:here.CurrencyModule_getCurrencyItemList()</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_id.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_source_reference.xml similarity index 96% rename from bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_id.xml rename to bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_source_reference.xml index 3cc393f9873113204081e25bc02adcab780c3960..70d6afb66009acff61632c8e15edd3d95cad988a 100755 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_id.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_source_reference.xml @@ -12,9 +12,15 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> - <value> <string>my_id</string> </value> + <value> <string>my_source_reference</string> </value> </item> <item> <key> <string>message_values</string> </key> @@ -211,7 +217,7 @@ </item> <item> <key> <string>display_width</string> </key> - <value> <int>10</int> </value> + <value> <int>20</int> </value> </item> <item> <key> <string>editable</string> </key> @@ -239,11 +245,11 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> - <value> <string>ID</string> </value> + <value> <string>Section Transaction Reference</string> </value> </item> <item> <key> <string>truncate</string> </key> diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/simulation_state.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_translated_simulation_state_title.xml similarity index 94% rename from bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/simulation_state.xml rename to bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_translated_simulation_state_title.xml index fdd14ce585698a377e6b0294c9b8a4a119e10dab..90a40bb199f0db1abd2bfa436c35282189bb9d75 100755 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/simulation_state.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_view/my_translated_simulation_state_title.xml @@ -14,7 +14,7 @@ <dictionary> <item> <key> <string>id</string> </key> - <value> <string>simulation_state</string> </value> + <value> <string>my_translated_simulation_state_title</string> </value> </item> <item> <key> <string>message_values</string> </key> @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -305,23 +303,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python:here.portal_workflow.getInfoFor(here, \'simulation_state\')</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData>