<odoo>
|
|
|
|
<record id="view_kala_account_tree" model="ir.ui.view">
|
|
<field name="name">kala.account.tree</field>
|
|
<field name="model">account.move</field>
|
|
<field name="inherit_id" ref="account.view_out_invoice_tree" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='name']" position="after">
|
|
<field string="Systempay Ref" name="systempay_ref"/>
|
|
<field string="Description" name="description"/>
|
|
<field string="Payment mode" name="payment_mode_id"/>
|
|
<field string="Payment date" name="transaction_date"/>
|
|
<field string="Amount paid" name="transaction_amount"/>
|
|
|
|
|
|
</xpath>
|
|
<xpath expr="//tree" position="attributes">
|
|
<attribute name="class">account_tree_class</attribute>
|
|
</xpath>
|
|
<xpath expr="//field[@name='invoice_date_due']" position="replace">
|
|
</xpath>
|
|
<xpath expr="//field[@name='amount_untaxed_signed']" position="replace">
|
|
</xpath>
|
|
<xpath expr="//field[@name='activity_ids']" position="replace">
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<record id="account_view_move" model="ir.ui.view">
|
|
<field name="name">kala.account.move.view</field>
|
|
<field name="model">account.move</field>
|
|
<field name="inherit_id" ref="account.view_move_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='partner_id']" position="after">
|
|
<field string="Out invoice" name="out_invoice_id" attrs="{'invisible': [('move_type', '!=', 'out_refund')]}"/>
|
|
<field name="payment_ids">
|
|
<tree>
|
|
<field name="date"/>
|
|
<field name="date_compta"/>
|
|
<field name="journal_id"/>
|
|
<field name="amount"/>
|
|
<field name="state"/>
|
|
</tree>
|
|
</field>
|
|
<field string="Date export compta" name="date_compta"/>
|
|
</xpath>
|
|
<xpath expr="//button[@name='button_draft']" position="after">
|
|
<button name="button_event_registration" string="Event registration" type="object"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|