|
@ -105,7 +105,6 @@ |
|
|
<filter string="Unvalid" name="Unvalid" domain="[('validated', '=', False)]"/> |
|
|
<filter string="Unvalid" name="Unvalid" domain="[('validated', '=', False)]"/> |
|
|
<group expand="0" name="group_by" string="Group By"> |
|
|
<group expand="0" name="group_by" string="Group By"> |
|
|
<filter string="Request type" context="{'group_by' : 'type'}" /> |
|
|
<filter string="Request type" context="{'group_by' : 'type'}" /> |
|
|
<!-- <filter string="Part type" context="{'group_by': 'share_short_name'}"/> --> |
|
|
|
|
|
<filter string="Date Month" context="{'group_by': 'date'}"/> |
|
|
<filter string="Date Month" context="{'group_by': 'date'}"/> |
|
|
</group> |
|
|
</group> |
|
|
</search> |
|
|
</search> |
|
@ -205,6 +204,22 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record id="view_share_line_filter" model="ir.ui.view"> |
|
|
|
|
|
<field name="name">Share Line Search</field> |
|
|
|
|
|
<field name="model">share.line</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<search string="Search Share Line"> |
|
|
|
|
|
<field name="partner_id"/> |
|
|
|
|
|
<field name="effective_date"/> |
|
|
|
|
|
<separator/> |
|
|
|
|
|
<group name="group_by" string="Group By"> |
|
|
|
|
|
<filter string="Cooperator" context="{'group_by' : 'partner_id'}" /> |
|
|
|
|
|
<filter string="Effective date" context="{'group_by': 'effective_date'}"/> |
|
|
|
|
|
</group> |
|
|
|
|
|
</search> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="share_line_action" model="ir.actions.act_window"> |
|
|
<record id="share_line_action" model="ir.actions.act_window"> |
|
|
<field name="name">Share Lines</field> |
|
|
<field name="name">Share Lines</field> |
|
|
<field name="res_model">share.line</field> |
|
|
<field name="res_model">share.line</field> |
|
|