GOLEM/golem_payment/views/golem_account_payment_views.xml

62 lines
2.1 KiB
XML
Raw Normal View History

2018-02-02 13:58:36 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo>
<data>
<!-- Forms -->
<record model="ir.ui.view" id="account_payment_form_inherit_golem_payment">
<field name="name">Add number of bank check into main form</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_form" />
<field name="arch" type="xml">
<field name="communication" position="before">
2018-02-02 16:27:45 +01:00
<field name="reference" />
</field>
</field>
</record>
<record model="ir.ui.view" id="account_invoice_form_inherit_golem_payment">
<field name="name">Add number of bank check into main form</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_invoice_form" />
<field name="arch" type="xml">
<field name="communication" position="before">
<field name="reference" />
2018-02-02 13:58:36 +01:00
</field>
</field>
</record>
<!-- Search -->
<record id="account_payment_search" model="ir.ui.view">
<field name="name">Account Payment Filters</field>
<field name="model">account.payment</field>
<field name="arch" type="xml">
<search>
<field name="payment_date" />
<group string="Group By">
<filter name="group_date" string="By date"
context="{'group_by': 'payment_date'}"/>
</group>
</search>
</field>
</record>
2018-02-02 13:58:36 +01:00
</data>
</odoo>