58 lines
2.3 KiB
XML
58 lines
2.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<odoo>
|
||
|
|
||
|
<!-- account.move.line (Journal Items) -->
|
||
|
<record id="view_move_line_form" model="ir.ui.view">
|
||
|
<field name="name">account.move.line.form</field>
|
||
|
<field name="model">account.move.line</field>
|
||
|
<field name="inherit_id" ref="account.view_move_line_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//field[@name='name']" position="after">
|
||
|
<field name="check_number" readonly="True" />
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="view_move_line_tree" model="ir.ui.view">
|
||
|
<field name="name">account.move.line.tree</field>
|
||
|
<field name="model">account.move.line</field>
|
||
|
<field name="inherit_id" ref="account.view_move_line_tree" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//field[@name='name']" position="after">
|
||
|
<field name="check_number" readonly="True" optional="hide" />
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="view_account_move_line_filter" model="ir.ui.view">
|
||
|
<field name="name">account.move.line.search</field>
|
||
|
<field name="model">account.move.line</field>
|
||
|
<field name="inherit_id" ref="account.view_account_move_line_filter" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//field[@name='name']" position="after">
|
||
|
<field name="check_number" />
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<!-- account.move (Journal Entries) -->
|
||
|
<record id="view_move_form" model="ir.ui.view">
|
||
|
<field name="name">account.move.form</field>
|
||
|
<field name="model">account.move</field>
|
||
|
<field name="inherit_id" ref="account.view_move_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath
|
||
|
expr="//notebook//field[@name='line_ids']/tree/field[@name='name']"
|
||
|
position="after"
|
||
|
>
|
||
|
<field name="check_number" readonly="True" optional="hide" />
|
||
|
</xpath>
|
||
|
<xpath
|
||
|
expr="//notebook//field[@name='line_ids']/form//field[@name='name']"
|
||
|
position="after"
|
||
|
>
|
||
|
<field name="check_number" readonly="True" />
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
</odoo>
|