Update property_management_menu

This commit is contained in:
zainab2097 2024-09-02 10:47:17 +03:00 committed by GitHub
parent 0346191692
commit 6a8e4af850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

View File

@ -236,9 +236,27 @@
<field name="search_view_id" ref="property_management.view_partner_tenant_search"/> <field name="search_view_id" ref="property_management.view_partner_tenant_search"/>
</record> </record>
<record id="action_property_config_settings" model="ir.actions.act_window">
<field name="name">Settings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_id" ref="property_management.res_property_settings_view_form"/>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'property_management_menu', 'bin_size': False}</field>
</record>
<menuitem id="menu_tenant" name="Tenants" <menuitem id="menu_tenant" name="Tenants"
parent="property_management_menu.property_management_menu" parent="property_management_menu.property_management_menu"
action="action_tenant"/> action="action_tenant"/>
<menuitem id="menu_property_general_settings"
name="Settings"
parent="property_management_menu.property_management_conf"
sequence="0"
action="action_property_config_settings"/>
<!-- property_management_menu.property_management_conf -->
</data> </data>
</odoo> </odoo>