Skip to content

Commit

Permalink
Merge pull request #133 from shivamg9/15.0-develop
Browse files Browse the repository at this point in the history
G2P:1236 Added Service Provider in main menu section
  • Loading branch information
shibu-narayanan authored Oct 26, 2023
2 parents 058aaa0 + 22e95dd commit 3eae679
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions g2p_program_reimbursement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"views/program_view.xml",
"views/cycle_view.xml",
"views/entitlement_view.xml",
"views/serviceprovider_view.xml",
"wizard/assign_to_program_wizard.xml",
"wizard/create_program_wizard.xml",
"wizard/create_entitlement_wizard.xml",
Expand Down
25 changes: 25 additions & 0 deletions g2p_program_reimbursement/views/serviceprovider_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<odoo>
<!-- Action Name -->
<record id="account.res_partner_action_supplier" model="ir.actions.act_window">
<field name="name">Service Provider</field>
</record>
<!-- Menu Item -->
<menuitem
id="menu_account_supplier"
name="Service Provider"
action="account.res_partner_action_supplier"
groups="g2p_registry_base.group_g2p_admin,g2p_programs.g2p_program_manager"
sequence="3"
/>
<!-- Search View -->
<record id="res_partner_view_search_g2p_inherit" model="ir.ui.view">
<field name="name">res.partner.search.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="account.res_partner_view_search" />
<field name="arch" type="xml">
<filter name="supplier" position="attributes">
<attribute name="string">Service Provider</attribute>
</filter>
</field>
</record>
</odoo>

0 comments on commit 3eae679

Please sign in to comment.