Commit 97395b8f authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_trade: Allow users with Associate role to deliver the packing list

With this, change we accept users with permission to Modify portal content or Associate role
parent 52bea24d
...@@ -66,14 +66,25 @@ ...@@ -66,14 +66,25 @@
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>expr</string> </key>
<value> <value>
<tuple> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<string>Modify portal content</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
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