diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml index 802493547f6d279bf277505890f793b7a568c7a7..03a37479cb637e7afaca4d5d5d65f04e72e5a8a4 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml @@ -88,7 +88,7 @@ if user_id is not None:\n for site in site_list:\n context.log(\'site\',site)\n site_value = context.portal_categories.getCategoryValue(site)\n - if site_value.getVaultType().endswith(\'guichet\') and destination in site:\n + if site_value.getVaultType().endswith(\'guichet\') and (destination in site or site in destination):\n baobab_destination = site + \'/encaisse_des_billets_et_monnaies/entrante\'\n found = 1\n context.log(\'baobab_destination\',baobab_destination)\n @@ -115,7 +115,9 @@ return baobab_destination\n </item> <item> <key> <string>_filepath</string> </key> - <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>_owner</string> </key> diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index bf0d87ab1b2b0ec1a11a3973d2845b42413d9767..62f9457511f879886bb7728c986fe10b0ece6bcb 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -4 \ No newline at end of file +6 \ No newline at end of file