{"id":18,"date":"2023-04-18T06:33:00","date_gmt":"2023-04-18T06:33:00","guid":{"rendered":""},"modified":"2024-01-28T09:05:22","modified_gmt":"2024-01-28T09:05:22","slug":"add-one2many-field-in-odoo16","status":"publish","type":"post","link":"https:\/\/pythonpower.in\/index.php\/2023\/04\/18\/add-one2many-field-in-odoo16\/","title":{"rendered":"Add One2many Field in Odoo16"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><span style=\"text-align: left;\"><span style=\"color: red; font-size: x-large;\"><b><i><u>Add One2many Field In Odoo16<\/u><\/i><\/b><\/span><\/span><\/div>\n<p><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><\/p>\n<p><\/p>\n<div style=\"clear: both; text-align: center;\">\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><\/div>\n<div style=\"clear: both; text-align: center;\"><b style=\"text-align: left;\"><span style=\"font-size: large;\">How To Add One2many Field In Odoo16<\/span><\/b><\/div>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: large;\">Identify the model you want to add the One2many field to. Let&#8217;s assume that you want to add a One2many field to the &#8220;appointment.pharmacy&#8221; model<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">from odoo import api, fields, models<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">class HospitalAppointment(models.Model):<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>_name = &#8216;hospital.appointment&#8217;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; _description=&#8217;hospital.appointment&#8217;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp;&nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>pharmacy_id = fields.One2many(&#8216;appointment.pharmacy&#8217;, &#8216;appointment_id&#8217;, string=&#8217;pharmacy_id&#8217; )<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp;&nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: large;\">#if we want to create many2one field&nbsp; first we can create a two model for relational fields in odoo<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">class AppointmentPharmacy(models.Model):<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>_name = &#8216;appointment.pharmacy&#8217;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>_description = &#8216;appointment pharmacy&#8217;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp;&nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>appointment_id = fields.Many2one(comodel_name=&#8217;hospital.appointment&#8217;, string=&#8217;appointment_id&#8217;)<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: large;\"># we can also create one xml file like appointment _view.xml<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\">&lt;odoo&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;record id=&#8221;view_hospital_appointment_form&#8221; model=&#8221;ir.ui.view&#8221;&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;name&#8221;&gt;hospital.appointment.form&lt;\/field&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;model&#8221;&gt;hospital.appointment&lt;\/field&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8221;arch&#8221; type=&#8221;xml&#8221;&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;form&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;notebook&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;page string=&#8217;pharmacy&#8217; name=&#8217;pharmacy&#8217;&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;field name=&#8217;pharmacy_id&#8217;&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/field&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/page&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/notebook&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/sheet&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/form&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/field&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&lt;\/record&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\">&lt;\/odoo&gt;<\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: large;\">after that we can add xml file in __manifest__.py<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">{<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;name&#8217;: &#8216;Hospital Management&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;version&#8217;: &#8216;1.2&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;category&#8217;: &#8216;Hospital Management System&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;author&#8217;: &#8216;pythonpowers&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;sequence&#8217;: -100,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;summary&#8217;: &#8216;HMS&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;description&#8217;: &#8220;&#8221;&#8221;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">This module contains all the common features of Hospital Managent System.<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8220;&#8221;&#8221;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;depends&#8217;: [&#8216;mail&#8217;,&#8217;base&#8217;,&#8217;product&#8217;],<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;data&#8217;: [<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&#8216;<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; &nbsp; &nbsp; <\/span>&#8216;views\/appointment_view.xml&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>],<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp;<\/span><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;demo&#8217;: [],<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;application&#8217;:True,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;installable&#8217;: True,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;assets&#8217;: {<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>},<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp;&nbsp; &nbsp;<\/span><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\"><span>&nbsp; &nbsp; <\/span>&#8216;license&#8217;: &#8216;LGPL-3&#8217;,<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;\"><span style=\"font-size: medium;\">}<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\">\n<div style=\"clear: both; text-align: center;\"><iframe loading=\"lazy\" allowfullscreen=\"\" height=\"381\" src=\"https:\/\/www.youtube.com\/embed\/eK3JL44evKg\" width=\"543\" youtube-src-><\/iframe><\/div>\n<p><span style=\"font-size: medium;\"><br \/><\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><span><span style=\"font-size: medium;\">&nbsp; &nbsp;&nbsp;<\/span><\/span><span style=\"font-size: medium;\">For any inquiries, suggestions, or feedback, you can reach out to us through the provided contact form on our blog. We make an effort to respond to all queries in a timely manner and appreciate your engagement with our content.<\/span><\/p>\n<p style=\"font-family: &quot;Helvetica Neue&quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 13px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 15px;\"><\/p>\n<p><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Add One2many Field In Odoo16 How To Add One2many Field In Odoo16 Identify the&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"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\/18"}],"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=18"}],"version-history":[{"count":1,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pythonpower.in\/index.php\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}