diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml index b96c85315e07c1b318e547f550ff1f8d546dac26..81ee46305bea96cd7491bec17e84cb85b8b93821 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml @@ -69,7 +69,8 @@ <item> <key> <string>_body</string> </key> <value> <string>source = context.getSourceSectionValue()\n -section_category = context.portal_preferences.getPreferredSectionCategory()\n +section_category = context.portal_preferences\\\n + .getPreferredAccountingTransactionSectionCategory()\n if source is not None and section_category:\n if source.isMemberOf(section_category):\n return 1\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 3fdc173dabdd1038c973c374ec30f55cfddafdfb..d800886d9c86731ae5c4a62b0b77c437015e00d2 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -122 \ No newline at end of file +123 \ No newline at end of file