<field name="arch" type="xml">
<form string="Payslip" version="7.0">
<header>
- <button string="Confirm" name="hr_verify_sheet" states="draft"/>
- <button string="Refund" name="refund_sheet" states="confirm,done" type='object'/>
+ <button string="Confirm" name="hr_verify_sheet" states="draft" class="oe_highlight"/>
+ <button string="Refund" name="refund_sheet" states="confirm,done" type='object' />
<button string="Set to Draft" name="draft" states="cancel"/>
- <button string="Compute Sheet" name="compute_sheet" type="object" states="draft"/>
+ <button string="Compute Sheet" name="compute_sheet" type="object" states="draft" class="oe_highlight"/>
<button string="Cancel" name="cancel_sheet" states="draft,hr_check,confirm,verify"/>
<field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
</header>
<field name="arch" type="xml">
<form string="Payslips Batches" version="7.0">
<header>
- <button name="close_payslip_run" type="object" string="Close" states="draft"/>
- <button name="%(action_hr_payslip_by_employees)d" type="action" states="draft" string="Generate Payslips" />
- <button string="Set to Draft" name="draft_payslip_run" type="object" states="close"/>
+ <button name="close_payslip_run" type="object" string="Close" states="draft" class="oe_highlight"/>
+ <button name="%(action_hr_payslip_by_employees)d" type="action" states="draft" string="Generate Payslips" class="oe_highlight"/>
+ <button string="Set to Draft" name="draft_payslip_run" type="object" states="close" />
<field name="state" widget="statusbar"/>
</header>
<sheet>