diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml index 022e8174aaba304e49099ea3772c462d82a74e70..90eda6a5e2bf795fa0faac1728350ac8b6c4af13 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml @@ -101,7 +101,8 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n total_credit += credit\n \n transaction = mvt.getParentValue()\n - is_source = brain.section_relative_url.startswith(transaction.getSourceSection())\n + is_source = brain.section_relative_url.startswith(\n + transaction.getSourceSection() or \'\')\n \n if is_source:\n mirror_section_title = mvt.getDestinationSectionTitle()\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 4d5b34789eb552e6c76f33313930efd032a52502..d81f86143d7c1e82d474182cc300963299a71756 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -793 \ No newline at end of file +794 \ No newline at end of file