diff --git a/master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_slapos_reversal.xml b/master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_slapos_reversal.xml index ab79591baffceff57301666aea7908696cdaf7ac..ef8b7bbd56fce55b2d90aaf90b94e5b54c9162e5 100644 --- a/master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_slapos_reversal.xml +++ b/master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_slapos_reversal.xml @@ -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>