[Erp5-report] r44023 mame - /erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skin...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 7 19:44:13 CET 2011


Author: mame
Date: Mon Mar  7 19:44:13 2011
New Revision: 44023

URL: http://svn.erp5.org?rev=44023&view=rev
Log:
-MainCheffinancier doesn't have the required permissions to call
Base_getCheckModelByReference from the context bank_account. 
Change it so now call to script is from portal site.

Modified:
    erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/BankAccount_getCheckModel.xml

Modified: erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/BankAccount_getCheckModel.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/BankAccount_getCheckModel.xml?rev=44023&r1=44022&r2=44023&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/BankAccount_getCheckModel.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/BankAccount_getCheckModel.xml [utf8] Mon Mar  7 19:44:13 2011
@@ -60,7 +60,7 @@
 \n
 entity_portal_type = context.getParentValue().getPortalType()\n
 reference = PORTAL_TYPE_TO_CHECK_MODEL_REFERENCE[entity_portal_type]\n
-check_resource = context.Base_getCheckModelByReference(\n
+check_resource = context.getPortalObject().Base_getCheckModelByReference(\n
   reference=reference,\n
   unique_per_account=unique_per_account,\n
 )\n



More information about the Erp5-report mailing list