diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml index 99c6a05d21f36b63374c9e794ff8eb09a3cdd16a..64e561d7b8fcd89dbacbed5ae2e8988223a43155 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml @@ -68,7 +68,8 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>if selection is None:\n + <value> <string># XXX bad name: AccountingTransaction_getMirrorSectionTitle sounds more consistent\n +if selection is None:\n # TODO: this should definitivly be REQUEST chached\n selection = context.portal_selections.getSelectionFor(\'accounting_selection\')\n \n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyUrl.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyUrl.xml index 5e45e4f4f362fcc2c58d4bc0fa458162912e82a7..7adc3e6c8705ac8584936b2e47982a16736f5f9a 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyUrl.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyUrl.xml @@ -68,7 +68,8 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>section_category=selection.getParams().get(\'section_category\')\n + <value> <string># XXX bad name: AccountingTransaction_getMirrorSection sounds more consistent\n +section_category=selection.getParams().get(\'section_category\')\n if not section_category:\n return\n \n