diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationSectionItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationSectionItemList.xml index c0193b06158ab9987c4a777a0b3a85d9e0f31982..fe8ac51afe80f11a8549a1518212b6abbf42c3b0 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationSectionItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationSectionItemList.xml @@ -82,7 +82,7 @@ current_destination_section = context.getDestinationSectionValue()\n if current_destination_section is not None and current_destination_section not in result:\n result.append(current_destination_section)\n \n -return [(i.getTitle(), i.getRelativeUrl()) for i in result]\n +return [(\'\', \'\')]+[(i.getTitle(), i.getRelativeUrl()) for i in result]\n </string> </value> </item> <item> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml index e081ca83388816bb9ed10437a033e458804d9558..bd5b05939aea1f682c93a62a4402b5d994d56580 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml @@ -84,7 +84,7 @@ if current_source_section is not None and current_source_section not in result:\ result.append(current_source_section)\n \n # convert to ListField format\n -return [(i.getTitle(), i.getRelativeUrl()) for i in result]\n +return [(\'\', \'\')]+[(i.getTitle(), i.getRelativeUrl()) for i in result]\n </string> </value> </item> <item> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index dd35c6b71fc80057f07694a1d0e0ee7348383b74..e9059e02c3dfa5428d76ae0eb634de170bea91ad 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -548 \ No newline at end of file +549 \ No newline at end of file