Commit 9f8a3a5e authored by Jérome Perrin's avatar Jérome Perrin

honor 'preferred accounting section category strict membership' in transaction...

honor 'preferred accounting section category strict membership' in transaction tab from entities and accounts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36480 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5bfb8d13
...@@ -100,7 +100,8 @@ if at_date:\n ...@@ -100,7 +100,8 @@ if at_date:\n
section_category = selection_params.get(\'section_category\',\n section_category = selection_params.get(\'section_category\',\n
preference.getPreferredAccountingTransactionSectionCategory())\n preference.getPreferredAccountingTransactionSectionCategory())\n
if section_category:\n if section_category:\n
params[\'section_uid\'] = context.Base_getSectionUidListForSectionCategory(section_category)\n params[\'section_uid\'] = context.Base_getSectionUidListForSectionCategory(section_category,\n
preference.isPreferredAccountingSectionCategoryStrict())\n
currency = context.Base_getCurrencyForSection(section_category)\n currency = context.Base_getCurrencyForSection(section_category)\n
# getQuantityPrecisionFromResource is defined on Base, but the portal is not \n # getQuantityPrecisionFromResource is defined on Base, but the portal is not \n
# an instance of Base, so we call it on portal_simulation because it is\n # an instance of Base, so we call it on portal_simulation because it is\n
......
1289 1290
\ No newline at end of file \ 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