Commit 2ae97bbc authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: use Project_getAccountingCurrency in action conditions

parent 220e7122
......@@ -92,7 +92,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: context.Base_hasSlapOSProjectUserGroup(manager=True, agent=True)</string> </value>
<value> <string>python: (context.Project_getAccountingCurrency() is not None) and context.Base_hasSlapOSProjectUserGroup(manager=True, agent=True)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -90,7 +90,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: (context.getDestinationSection(None) is None) and (context.Base_hasSlapOSProjectUserGroup(customer=True))</string> </value>
<value> <string>python: (context.Project_getAccountingCurrency() is None) and (context.Base_hasSlapOSProjectUserGroup(customer=True))</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -90,7 +90,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: (context.getDestinationSection(None) is not None) and (context.Base_hasSlapOSProjectUserGroup(customer=True))</string> </value>
<value> <string>python: (context.Project_getAccountingCurrency() is not None) and (context.Base_hasSlapOSProjectUserGroup(customer=True))</string> </value>
</item>
</dictionary>
</pickle>
......
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