diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml index 10b5d92b336958b3be13b9864645f1befc712e5b..8455f78acbc98ed7a5282ad95dbf3ac27593272d 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml @@ -68,7 +68,8 @@ params = {}\n if kw.get(\'no_from_date\', False): from_date = None\n \n if simulation_state: params[\'simulation_state\'] = simulation_state\n -if section_category: params[\'section_category\'] = section_category\n +params[\'section_uid\'] = context.Base_getSectionUidListForSectionCategory(section_category)\n +\n \n if kw.has_key(\'node_uid\') : params[\'node_uid\'] = kw[\'node_uid\']\n if kw.has_key(\'portal_type\'): params[\'portal_type\'] = kw[\'portal_type\']\n @@ -83,7 +84,7 @@ if from_date is not None:\n get_inventory_kw.update({ \'omit_simulation\' : True\n , \'payment_uid\' : context.getUid()\n , \'to_date\' : from_date\n - , \'where_expression\': " section.portal_type = \'Organisation\' "\n + # , \'where_expression\': " section.portal_type = \'Organisation\' "\n , \'stat\' : True\n })\n \n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index b6e871735215955f7d983558402b85b05d7eda34..c4176e46d4a9511e56072d20c262fa379321dfb4 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1484 \ No newline at end of file +1485 \ No newline at end of file