[IMP] hr_expense : Rename the 'Issue Receipt' into 'Generate Account Entry' and make it visible only by the eInvoicing & Payment User (not the HR).

bzr revid: mdi@tinyerp.com-20120723054300-sde5r73zn31dbpw2
This commit is contained in:
Divyesh Makwana (Open ERP)
2012-07-23 11:13:00 +05:30
parent dd4eef7d13
commit 9606e7a28c
+1 -1
View File
@@ -68,7 +68,7 @@
<button name="confirm" states="draft" string="Submit to Manager" type="workflow" class="oe_highlight"/>
<button name="validate" states="confirm" string="Approve" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
<button name="draft" states="confirm,cancelled" string="Set to Draft" type="workflow" groups="base.group_hr_user" />
<button name="done" states="accepted" string="Issue Receipt" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
<button name="done" states="accepted" string="Generate Account Entry" type="workflow" groups="account.group_account_invoice" class="oe_highlight"/>
<button name="action_view_receipt" states="done" string="Open Receipt" type="object" class="oe_highlight"/>
<button name="refuse" states="confirm,accepted" string="Refuse" type="workflow" groups="base.group_hr_user" />
<field name="state" widget="statusbar" statusbar_visible="draft,confirm,accepted,done" statusbar_colors='{"confirm":"blue","cancelled":"red"}'/>