houssine
5 years ago
5 changed files with 6 additions and 58 deletions
-
1easy_my_coop_loan/__manifest__.py
-
19easy_my_coop_loan/models/loan.py
-
4easy_my_coop_loan/views/loan_view.xml
-
1easy_my_coop_loan/views/menus.xml
-
39easy_my_coop_loan/views/term_view.xml
@ -1,39 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<record id="view_loan_term_tree" model="ir.ui.view"> |
|
||||
<field name="name">loan.term.tree</field> |
|
||||
<field name="model">loan.term</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="Loan terms"> |
|
||||
<field name="name" /> |
|
||||
<field name="term" /> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_loan_term_form" model="ir.ui.view"> |
|
||||
<field name="name">loan.term.form</field> |
|
||||
<field name="model">loan.term</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Loan terms"> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="name" /> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="term" /> |
|
||||
</group> |
|
||||
</group> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_loan_term" model="ir.actions.act_window"> |
|
||||
<field name="name">Loan term</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">loan.term</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">tree,form</field> |
|
||||
</record> |
|
||||
|
|
||||
</odoo> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue