[FIX] access rights to validate a journal entry

bzr revid: fp@tinyerp.com-20120929091107-2jtxnenb2nw1z4o4
This commit is contained in:
Fabien Pinckaers 2012-09-29 11:11:07 +02:00
parent 2c3da0188a
commit 41e135ecb7
1 changed files with 2 additions and 2 deletions

View File

@ -1328,8 +1328,8 @@
<field name="arch" type="xml">
<form string="Account Entry" version="7.0">
<header>
<button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight"/>
<button name="button_cancel" states="posted" string="Cancel" type="object"/>
<button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
<button name="button_cancel" states="posted" string="Cancel" type="object" groups="account.group_account_invoice"/>
<field name="state" widget="statusbar"/>
</header>
<sheet string="Journal Entries" >