<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>