Commit b169dc21 authored by Jérome Perrin's avatar Jérome Perrin

AccountingTransaction_isSourceView will use the Section from Accounting

preferences, not the one from General.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11193 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 72d61c5d
......@@ -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
......
122
\ No newline at end of file
123
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment