[TMP]Add payment_date filter and groupe search

This commit is contained in:
michel 2018-02-02 18:08:16 +01:00
parent 197e9705e0
commit 23caebbce9

View File

@ -42,5 +42,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</field> </field>
</record> </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>
</data> </data>
</odoo> </odoo>