diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_createSecondaryPeriod.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_createSecondaryPeriod.xml index 114f6159249ca3b975388d606545753ed92951da..83a5b7efee2a4c0cf10555a7e6a9892db6c62a40 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_createSecondaryPeriod.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_createSecondaryPeriod.xml @@ -75,10 +75,10 @@ while date < context.getStopDate():\n \n if frequency == \'quarterly\':\n period.setShortTitle(\'%s-%s\' % (\n - date.strftime(\'%Y %m\'), (end_date - 1).strftime(\'%m\')))\n + start_date.strftime(\'%Y %m\'), (end_date - 1).strftime(\'%m\')))\n else:\n - period.setShortTitle(date.strftime(\'%Y-%m\'))\n - period.setTitle(str(translateString(date.strftime(\'%B\'))))\n + period.setShortTitle(start_date.strftime(\'%Y-%m\'))\n + period.setTitle(str(translateString(start_date.strftime(\'%B\'))))\n \n if open_periods:\n period.start()\n