diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml index c37eea9c0668febcb689c119b59814c2d7d29060..c14753cc876b7394c24d44856f336b91cfc0fd6a 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml @@ -9,22 +9,10 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>Python_magic</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>Script_magic</string> </key> <value> <int>3</int> </value> </item> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -79,7 +67,7 @@ if not organisation:\n organisation_value = portal.restrictedTraverse(organisation)\n item_list = [(\'\', \'\')]\n for bank in LazyFilter(organisation_value.contentValues(\n - portal_type=portal.getPortalPaymentNodeTypeList()), skip=\'View\'):\n + portal_type=portal.getPortalPaymentNodeTypeList()), skip=\'\'):\n \n if skip_invalidated_bank_accounts and bank.getValidationState() == \'invalidated\':\n continue\n @@ -107,18 +95,6 @@ return item_list\n <none/> </value> </item> - <item> - <key> <string>_filepath</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string>organisation=None, skip_invalidated_bank_accounts=1</string> </value> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml index ed2f52f85ccfaa0abbd5a7cceeb3072538afa361..0ca5c2999b77a24d18386c3cb5983e54640c3afb 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml @@ -9,22 +9,10 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>Python_magic</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>Script_magic</string> </key> <value> <int>3</int> </value> </item> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -79,7 +67,7 @@ section = context.getDestinationSectionValue(portal_type=\'Organisation\')\n if section is not None:\n for accounting_period in section.contentValues(\n portal_type=\'Accounting Period\',\n - checked_permission=\'View\'):\n + checked_permission=\'Access contents information\'):\n if accounting_period.getSimulationState() in (\n \'draft\', \'cancelled\', \'deleted\'):\n continue\n @@ -97,12 +85,6 @@ if section is not None:\n <none/> </value> </item> - <item> - <key> <string>_filepath</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml index 67b183907a303cd092245b916b11b99209754caa..9e5ba6950cafd73eff1bbedf4e5ac8968f31ac69 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml @@ -9,22 +9,10 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>Python_magic</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>Script_magic</string> </key> <value> <int>3</int> </value> </item> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -79,7 +67,7 @@ section = context.getSourceSectionValue(portal_type=\'Organisation\')\n if section is not None:\n for accounting_period in section.contentValues(\n portal_type=\'Accounting Period\',\n - checked_permission=\'View\'):\n + checked_permission=\'Access contents information\'):\n if accounting_period.getSimulationState() in (\n \'draft\', \'cancelled\', \'deleted\'):\n continue\n @@ -97,12 +85,6 @@ if section is not None:\n <none/> </value> </item> - <item> - <key> <string>_filepath</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml index 670f800cd9262d0f2f12ee76a8b30cd61a563553..7d8fb5c57226f0f35bc9f78d0a0a61a582eca77f 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml @@ -9,22 +9,10 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>Python_magic</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>Script_magic</string> </key> <value> <int>3</int> </value> </item> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -78,7 +66,7 @@ if section_cat is not None:\n \n if section_cat_obj is not None:\n result = section_cat_obj.getGroupRelatedValueList(portal_type=\'Organisation\',\n - checked_permission=\'View\')\n + checked_permission=\'Access contents information\')\n result = [r for r in result\n if r.getProperty(\'validation_state\') not in (\'invalidated\', \'deleted\')]\n \n @@ -96,12 +84,6 @@ return [(\'\', \'\')] + [(i.getTitle(), i.getRelativeUrl()) for i in result]\n <none/> </value> </item> - <item> - <key> <string>_filepath</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 988e00fe6b2996b85c3c171cf2b3bed3e896795a..c1891366fdb411c94d98138ed52fef2e57a2676c 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -768 \ No newline at end of file +769 \ No newline at end of file