diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_postCalculation.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_postCalculation.xml index a09b3f3a7dc313372236ca4cd95fc4e9df3064c7..3d0588f9bd7dc9da499f2f5f26d784510c3cf44a 100644 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_postCalculation.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_postCalculation.xml @@ -134,7 +134,7 @@ if context.getTitle() in (\'\', None):\n )\n if context.getStartDate() not in (\'\', None):\n payroll_date = context.getStartDate()\n - new_title += \' %s %s\' % ( N_(months[payroll_date.month()])\n + new_title += \' %s %s\' % ( N_(months[payroll_date.month() - 1])\n , payroll_date.year()\n )\n context.setTitle(new_title)\n diff --git a/bt5/erp5_payroll/bt/change_log b/bt5/erp5_payroll/bt/change_log index 41f109298b22f68bd8aa38c2b4f1b855f9798e1b..0a7cf55b6b90d0d923c98656b01d8c636f7d0ae9 100644 --- a/bt5/erp5_payroll/bt/change_log +++ b/bt5/erp5_payroll/bt/change_log @@ -1,3 +1,6 @@ +2006-06-19 Kevin +* Fix wrong paysheet month. + 2006-06-15 Kevin * Add a new fast input to create a bunch of paysheets.