forked from Yaltik/golem
[TMP]Add payment_date filter and groupe search
This commit is contained in:
parent
197e9705e0
commit
23caebbce9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user