{"id":21,"date":"2023-02-24T11:54:00","date_gmt":"2023-02-24T11:54:00","guid":{"rendered":""},"modified":"2024-01-28T09:05:26","modified_gmt":"2024-01-28T09:05:26","slug":"how-to-create-menu-and-actions-in-odoo16","status":"publish","type":"post","link":"https:\/\/pythonpower.in\/index.php\/2023\/02\/24\/how-to-create-menu-and-actions-in-odoo16\/","title":{"rendered":"How To Create Menu and Actions In Odoo16"},"content":{"rendered":"<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/pythonpower.in\/wp-content\/uploads\/2023\/02\/maxresdefault-1.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" data-original-height=\"720\" data-original-width=\"1280\" height=\"360\" src=\"http:\/\/pythonpower.in\/wp-content\/uploads\/2023\/02\/maxresdefault-1-300x169.jpg\" width=\"640\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: large;\"><b>How To Create Menu In Odoo16<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">Create a new XML file in the views directory of your module. Name the file menu.xml (replace module_name with the name of your module).<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 16px; white-space: pre-wrap;\">In the XML file, add a new record tag with the following attributes:<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 16px; white-space: pre-wrap;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;odoo&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\"><b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<\/b><\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; <\/span>&lt;menuitem id=&#8221;menu_hospital_root&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>name= &#8220;hospital&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>sequence=&#8221;0&#8243;\/&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;menuitem id=&#8221;menu_hospital_master&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>name= &#8220;Patient_details&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>parent=&#8221;menu_hospital_root&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>sequence=&#8221;0&#8243;\/&gt; <span>&nbsp;<\/span><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\"><b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/b><\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;\/odoo&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">Replace menu_id with a unique ID for the menu, Menu Name with the name you want to give the menu, hospital.patient.action_name with the ID of the action that will be executed when the menu is clicked, and 10 with the sequence number of the menu<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><\/p>\n<div style=\"clear: both; text-align: center;\"><iframe loading=\"lazy\" allowfullscreen=\"\" height=\"295\" src=\"https:\/\/www.youtube.com\/embed\/eMkTHVL1kD8\" width=\"538\" youtube-src-><\/iframe><\/div>\n<p><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; white-space: pre-wrap;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">Create a new action in the actions directory of your module. Name the file patient_view.xml<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 16px; white-space: pre-wrap;\">In the action file, add a new record tag with the following attributes:<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 16px; white-space: pre-wrap;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 16px; white-space: pre-wrap;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;odoo&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;record id=&#8221;action_hospital_patient&#8221; model=&#8221;ir.actions.act_window&#8221;&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;name&#8221;&gt;Hospital&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;type&#8221;&gt;ir.actions.act_window&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;res_model&#8221;&gt;hospital.patient&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;view_mode&#8221;&gt;tree,form&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;context&#8221;&gt;{}&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;help&#8221; type=&#8221;html&#8221;&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;p class=&#8221;o_view_nocontent_smiling_face&#8221;&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>Create a patient details<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/p&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/field&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; <\/span>&lt;\/record&gt;<span>&nbsp;<\/span><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp; &nbsp; <\/span>&lt;menuitem id=&#8221;menu_hospital&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>name= &#8220;Patient&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>action=&#8217;action_hospital_patient&#8217;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>parent=&#8221;menu_hospital_master&#8221;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>sequence=&#8221;0&#8243;\/&gt; <span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b>&lt;\/odoo&gt;<\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">Replace action_name with a unique ID for the action, Action Name with the name you want to give the action, and model.name with the name of the model that the action will be executed on.<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; white-space: pre-wrap;\"><span style=\"font-size: medium;\"><b><br \/><\/b><\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\"><span style=\"background-color: #444654; color: #d1d5db; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Ubuntu, Cantarell, &quot;Noto Sans&quot;, sans-serif, &quot;Helvetica Neue&quot;, Arial, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; white-space: pre-wrap;\"><span style=\"font-size: medium;\"><\/span><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><span style=\"font-size: medium;\"><iframe loading=\"lazy\" allowfullscreen=\"\" height=\"353\" src=\"https:\/\/www.youtube.com\/embed\/hnezxoHvsiM\" width=\"619\" youtube-src-><\/iframe><\/span><\/div>\n<\/p>\n<ol>\n<li style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">Update the __manifest__.py file of your module to include the new XML files in the data list.<\/li>\n<li style=\"font-family: &quot;Helvetica Neue&quot;; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">\n<p style=\"font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;\">Upgrade your module and check if the menu has been created in the Odoo user interface<\/p>\n<\/li>\n<\/ol>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; How To Create Menu In Odoo16 Create a new XML file in the views&hellip;<\/p>\n","protected":false},"author":2,"featured_media":85,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_joinchat":[]},"categories":[5],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions\/86"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/media\/85"}],"wp:attachment":[{"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}