Commit 3d03d158 authored by Jérome Perrin's avatar Jérome Perrin

Bank reconciliation cleanups

Make it pass coding style

"Hide" an action that is not really useful and problematic when used by mistake

/reviewed-on nexedi/erp5!1051
parents 5016f968 4761e8be
......@@ -32,9 +32,8 @@
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
<value> <string>This action selects all transactions from this account at a given date to reconcile them all.\n
This is only useful to start using bank reconciliation after using accounting for some years.</string> </value>
</item>
<item>
<key> <string>icon</string> </key>
......@@ -48,7 +47,7 @@
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
<string>Manage portal</string>
</tuple>
</value>
</item>
......
from Products.ERP5Type.Message import translateString
context.getPortalObject().portal_workflow.doActionFor(
context, 'edit_action', comment=translateString('Select non reconciled transcations finished'))
context, 'edit_action', comment=translateString('Select non reconciled transactions finished'))
object = state_change['object']
object.Base_checkConsistency()
state_change['object'].Base_checkConsistency()
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