|
@ -109,6 +109,16 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record id="view_loan_issue_filter" model="ir.ui.view"> |
|
|
|
|
|
<field name="name">Loans Issue Search</field> |
|
|
|
|
|
<field name="model">loan.issue</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<search string="Search Loan Issue"> |
|
|
|
|
|
<field name="name"/> |
|
|
|
|
|
</search> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="action_loan_issue" model="ir.actions.act_window"> |
|
|
<record id="action_loan_issue" model="ir.actions.act_window"> |
|
|
<field name="name">Loan Issues</field> |
|
|
<field name="name">Loan Issues</field> |
|
|
<field name="res_model">loan.issue</field> |
|
|
<field name="res_model">loan.issue</field> |
|
@ -192,4 +202,25 @@ |
|
|
</form> |
|
|
</form> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record id="view_loan_issue_line_filter" model="ir.ui.view"> |
|
|
|
|
|
<field name="name">Loans Search</field> |
|
|
|
|
|
<field name="model">loan.issue.line</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<search string="Search Loans"> |
|
|
|
|
|
<field name="name"/> |
|
|
|
|
|
<field name="partner_id"/> |
|
|
|
|
|
<field name="loan_issue_id"/> |
|
|
|
|
|
<separator/> |
|
|
|
|
|
<filter string="Draft" name="state_draft" domain="[('state','=','draft')]"/> |
|
|
|
|
|
<filter string="Paid" name="state_paid" domain="[('state','=','paid')]"/> |
|
|
|
|
|
<filter string="Done" name="state_done" domain="[('state','=','done')]"/> |
|
|
|
|
|
<filter string="Subscribed" name="state_subscribed" domain="[('state','=','subscribed')]"/> |
|
|
|
|
|
<group expand="0" name="group_by" string="Group By"> |
|
|
|
|
|
<filter name="loan_issue_id" string="Loan Issue" context="{'group_by' : 'loan_issue_id'}" /> |
|
|
|
|
|
<filter name="date" string="Subscription Date" context="{'group_by': 'date'}"/> |
|
|
|
|
|
</group> |
|
|
|
|
|
</search> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
</odoo> |
|
|
</odoo> |