mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 04:12:07 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -7,13 +7,16 @@
|
|||
<field name="inherit_id" ref="account.view_account_payment_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<field name="expense_sheet_id" invisible="1"/>
|
||||
<button name="action_open_expense_report"
|
||||
<field name="expense_ids" invisible="1"/>
|
||||
<button name="action_open_expense"
|
||||
class="oe_stat_button"
|
||||
string="Expense Report"
|
||||
icon="fa-file-text-o"
|
||||
type="object"
|
||||
attrs="{'invisible': [('expense_sheet_id', '=', [])]}"/>
|
||||
invisible="not expense_ids">
|
||||
<div class="o_stat_info">
|
||||
<span class="o_stat_text">Expense</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue