diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.xml index 268feffb7ef154277a95e7143ec289966aa72aa7..c9fcab9efc9087abaa372b08f0c16083d111f377 100644 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.xml @@ -72,6 +72,7 @@ getobject = portal.portal_catalog.getobject\n for x in portal.portal_simulation.getInventoryList(\n portal_type=(\'Pay Sheet Cell\',\n \'Pay Sheet Line\'),\n + group_by_resource=0,\n group_by_mirror_section=1):\n mirror_section_uid = x.mirror_section_uid\n if mirror_section_uid:\n @@ -80,6 +81,7 @@ for x in portal.portal_simulation.getInventoryList(\n item_list.append((mirror_section.getTitle(),\n mirror_section.getRelativeUrl()))\n \n +item_list.sort(lambda a, b: cmp(a[0], b[0]))\n return item_list\n </string> </value> </item> diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementResourceItemList.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementResourceItemList.xml index e047b4d63354f6e223fd455a91a1b6ca69911d11..a0a22690e26fc826a924ea8751e805d8d8bf9de2 100644 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementResourceItemList.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementResourceItemList.xml @@ -79,6 +79,7 @@ for x in portal.portal_simulation.getInventoryList(\n item_list.append((resource.getTitle(),\n resource.getRelativeUrl()))\n \n +item_list.sort(lambda a, b: cmp(a[0], b[0]))\n return item_list\n </string> </value> </item> diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision index 44dfb1d0bc37a983be2737660078a23f65f86190..b1ef57c1f7cdbf7b9e0134512a22b8cc71c410df 100644 --- a/bt5/erp5_payroll/bt/revision +++ b/bt5/erp5_payroll/bt/revision @@ -1 +1 @@ -264 \ No newline at end of file +265 \ No newline at end of file