Commit 4800eec7 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_certificate_authority: Fix up script and set portal skins priority order

Prefer to use Login_checkExistence from this Skins over the version on erp5_base.
parent 6761c66a
...@@ -9,7 +9,18 @@ ...@@ -9,7 +9,18 @@
<item> <item>
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple/> <tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>business_template_skin_layer_priority</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>float</string> </value>
</item>
</dictionary>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -18,6 +29,10 @@ ...@@ -18,6 +29,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>business_template_skin_layer_priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>erp5_certificate_authority</string> </value> <value> <string>erp5_certificate_authority</string> </value>
......
...@@ -6,7 +6,7 @@ if portal_type in ("ERP5 Login", "Certificate Login"): ...@@ -6,7 +6,7 @@ if portal_type in ("ERP5 Login", "Certificate Login"):
portal_type = ("ERP5 Login", "Certificate Login") portal_type = ("ERP5 Login", "Certificate Login")
return context.getPortalObject().Base_checkLoginExistence( return context.getPortalObject().Base_checkLoginExistence(
portal_type=context.getPortalType(), portal_type=portal_type,
reference=context.getReference(), reference=context.getReference(),
ignore_uid=context.getUid(), ignore_uid=context.getUid(),
ignore_user_uid=context.getParentValue().getUid(), ignore_user_uid=context.getParentValue().getUid(),
......
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