You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
996 B
22 lines
996 B
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<openerp>
|
|
<data>
|
|
<record id="hr_expense_form_view_add_payment" model="ir.ui.view">
|
|
<field name="name">hr.expense.form</field>
|
|
<field name="model">hr.expense</field>
|
|
<field name="inherit_id" ref="hr_expense.hr_expense_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@name='submit_expenses']" position="after">
|
|
<button name="hr_expense_payment" states="post"
|
|
string="Pay" type="object" class="oe_highlight"/>
|
|
<button name="hr_expense_reconcile" states="post"
|
|
string="Reconcile" type="object" class="oe_highlight"/>
|
|
</xpath>
|
|
|
|
<xpath expr="//field[@name='account_move_id']" position="after">
|
|
<field name="payment_id" readonly="1"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|