Commit a3b635c3 authored by Mame Coumba Sall's avatar Mame Coumba Sall

-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.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44023 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f004bd7b
......@@ -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
......
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