Commit 7762a36a authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: only show the reversal action to accountant

parent 8038182f
......@@ -88,7 +88,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.getSimulationState() in (\'stopped\', ) and not object.SaleInvoiceTransaction_isLettered()</string> </value>
<value> <string>python: object.getSimulationState() in (\'stopped\', ) and (not object.SaleInvoiceTransaction_isLettered()) and portal.Base_checkPermission(\'accounting_module\', \'Add portal content\')</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