Browse Source

[REF] emc_loan: menu ids consistency

pull/28/head
robin.keunen 5 years ago
parent
commit
df6f2c3e76
  1. 2
      easy_my_coop_loan/views/loan_view.xml
  2. 2
      easy_my_coop_loan/views/menus.xml

2
easy_my_coop_loan/views/loan_view.xml

@ -104,7 +104,7 @@
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
</record> </record>
<record id="action_follow_individual_loan" model="ir.actions.act_window">
<record id="action_loan_issue_lines" model="ir.actions.act_window">
<field name="name">Loans</field> <field name="name">Loans</field>
<field name="res_model">loan.issue.line</field> <field name="res_model">loan.issue.line</field>
<field name="view_type">form</field> <field name="view_type">form</field>

2
easy_my_coop_loan/views/menus.xml

@ -6,7 +6,7 @@
<odoo> <odoo>
<menuitem name="Loan Management" id="menu_easy_my_coop_main_loan_issue" parent="easy_my_coop.menu_main_easy_my_coop" groups="easy_my_coop.group_easy_my_coop_user" sequence="15"/> <menuitem name="Loan Management" id="menu_easy_my_coop_main_loan_issue" parent="easy_my_coop.menu_main_easy_my_coop" groups="easy_my_coop.group_easy_my_coop_user" sequence="15"/>
<menuitem name="Loan Issues" id="loan_issue_menu" action="action_loan_issue" parent="menu_easy_my_coop_main_loan_issue" sequence="110"/> <menuitem name="Loan Issues" id="loan_issue_menu" action="action_loan_issue" parent="menu_easy_my_coop_main_loan_issue" sequence="110"/>
<menuitem name="Loans" id="individual_loan_menu" action="action_follow_individual_loan" parent="menu_easy_my_coop_main_loan_issue" sequence="120"/>
<menuitem name="Loans" id="loan_issue_line_menu" action="action_loan_issue_lines" parent="menu_easy_my_coop_main_loan_issue" sequence="120"/>
<menuitem name="Loaners" id="loaners_menu" action="action_loaners" parent="easy_my_coop.menu_easy_my_coop_main_coop" sequence="215" /> <menuitem name="Loaners" id="loaners_menu" action="action_loaners" parent="easy_my_coop.menu_easy_my_coop_main_coop" sequence="215" />

Loading…
Cancel
Save