{"id":99993,"date":"2017-10-25T12:44:13","date_gmt":"2017-10-25T12:44:13","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=99993"},"modified":"2020-02-12T13:52:38","modified_gmt":"2020-02-12T13:52:38","slug":"odoo-domain-of-o2m-fields-onchange-of-parent-fields","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/","title":{"rendered":"Domain of One2Many Child fields on the basis of parent fields"},"content":{"rendered":"<p>Today I was working on a module In Odoo11 where I needed to change the domain of a field in the tree view of One2many field on change of the parent field. I searched many things then I found a solution which I am going to explain in this tutorial. \u00a0I will try to explain with an example how we are going to do so.<\/p>\n<p><strong>\u00a0First, let us create the python code.<\/strong><\/p>\n<p>I am creating\u00a0two models &#8220;parent.model&#8221; in which I am adding two fields. One field is M2O and the other is O2M. The other model is &#8220;child.model&#8221; in which I have added some fields.\u00a0Let us see how we can change the domain of one of the fields in the child model(product_id) on the basis of parent module field(template_id). In this example, I haved added only those variants in the domain whose sale price is greater than 100. See the code below.<\/p>\n<pre class=\"brush:py \">class ParentModel(models.Model):\n\t_name = 'parent.model'\n\n       template_id = fields.Many2one('product.template',string='Template')\n       product_ids = fields.One2many(comodel_name = 'child.model', inverse_name = 'parent_id', string = 'Children Ids')\n\nclass ChildModel(models.Model):\n     _name= 'child.model'\n \n     parent_id = fields.Many2one(comodel_name='parent.model', string=\"Parent\")\n     product_id = fields.Many2one(comodel_name='product.product', string=\"Product\")\n     lst_price = fields.Float(\"Sale Price\")\n\n\u00a0 \u00a0 \u00a0@api.onchange('product_id')\n\u00a0 \u00a0 \u00a0def onchange_product_id(self):\n\u00a0 \u00a0 \u00a0 \u00a0 variant_ids_list = []\n\u00a0 \u00a0 \u00a0 \u00a0 if self._context.get('template_id'): \u00a0 \/\/ \u00a0We will pass this context from the xml view.\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0   template_id = self.env[\"product.template\"].browse(self._context.get('template_id'))\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 for variant_id in template_id.product_variant_ids:\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if variant_id.lst_price &gt; \u00a0100:\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0variant_ids_list.append(variant_id.id)\n\u00a0 \u00a0 \u00a0 \u00a0 return result['domain'] = {'product_id': [('id','in',variant_ids_list)]<\/pre>\n<p><strong>\u00a0Now let us create the XML part.<\/strong><\/p>\n<pre class=\"brush:xml\"> &lt;record id=\"parent_model_id\" model=\"ir.ui.view\"&gt;\n\u00a0\u00a0\u00a0\u00a0 &lt;field name=\"name\"&gt;parent.modle.form&lt;\/field&gt;\n\u00a0\u00a0\u00a0\u00a0 &lt;field name=\"model\"&gt;parnet.model&lt;\/field&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0&lt;field name=\"arch\" type=\"xml\"&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;form string=\"Parent Model\" version=\"7.0\"&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;sheet&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;field name=\"template_id\" \/&gt;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;field name=\"product_ids\" \u00a0context=\"{'template_id':parent.template_id}\"&gt; # Pass the as context the field_name of the parent class using parent.field_name. \n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;tree editable=\"bottom\" &gt;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;field name=\"product_id\" options=\"{'no_create_edit':True}\"\/&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;field name=\"lst_price\"\/&gt;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;\/tree&gt;\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;\/field&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/sheet&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/form&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/field&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\n &lt;\/record&gt;\n\n<\/pre>\n<p><span style=\"color: #333399;\">That is it.!!!<\/span><br \/>\n<span style=\"color: #333399;\">If you liked\u00a0this post, It would be very grateful if you write your opinions, comments and suggestions to keep the post updated and interesting.<\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>Thank you!<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was working on a module In Odoo11 where I needed to change the domain of a field in the tree view of One2many field on change of the parent field. I searched many things then I found a solution which I am going to explain in this tutorial. \u00a0I will try to explain <a href=\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":88,"featured_media":45511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2007,1],"tags":[5634,5635,5633,5632],"class_list":["post-99993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odoo","category-uncategorized","tag-change-domain-of-one2many-field-using-parent-field","tag-context-using-parent-field","tag-odoo-one2many-domain","tag-one2many-domain-onchange"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Domain of O2M Child fields on the basis of parent fields.<\/title>\n<meta name=\"description\" content=\"the domain of one2many Child fields on the basis of parent fields.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Domain of O2M Child fields on the basis of parent fields.\" \/>\n<meta property=\"og:description\" content=\"the domain of one2many Child fields on the basis of parent fields.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-25T12:44:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-12T13:52:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jahangir Naik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jahangir Naik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\"},\"author\":{\"name\":\"Jahangir Naik\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6\"},\"headline\":\"Domain of One2Many Child fields on the basis of parent fields\",\"datePublished\":\"2017-10-25T12:44:13+00:00\",\"dateModified\":\"2020-02-12T13:52:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\"},\"wordCount\":211,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"keywords\":[\"change domain of one2many field using parent field\",\"context using parent field\",\"odoo one2many domain\",\"one2many domain onchange\"],\"articleSection\":[\"Odoo\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\",\"url\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\",\"name\":\"Domain of O2M Child fields on the basis of parent fields.\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"datePublished\":\"2017-10-25T12:44:13+00:00\",\"dateModified\":\"2020-02-12T13:52:38+00:00\",\"description\":\"the domain of one2many Child fields on the basis of parent fields.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Domain of One2Many Child fields on the basis of parent fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6\",\"name\":\"Jahangir Naik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Jahangir Naik\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/jahangir260\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Domain of O2M Child fields on the basis of parent fields.","description":"the domain of one2many Child fields on the basis of parent fields.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/","og_locale":"en_US","og_type":"article","og_title":"Domain of O2M Child fields on the basis of parent fields.","og_description":"the domain of one2many Child fields on the basis of parent fields.","og_url":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-10-25T12:44:13+00:00","article_modified_time":"2020-02-12T13:52:38+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","type":"image\/png"}],"author":"Jahangir Naik","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Jahangir Naik","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/"},"author":{"name":"Jahangir Naik","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6"},"headline":"Domain of One2Many Child fields on the basis of parent fields","datePublished":"2017-10-25T12:44:13+00:00","dateModified":"2020-02-12T13:52:38+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/"},"wordCount":211,"commentCount":6,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","keywords":["change domain of one2many field using parent field","context using parent field","odoo one2many domain","one2many domain onchange"],"articleSection":["Odoo"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/","url":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/","name":"Domain of O2M Child fields on the basis of parent fields.","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","datePublished":"2017-10-25T12:44:13+00:00","dateModified":"2020-02-12T13:52:38+00:00","description":"the domain of one2many Child fields on the basis of parent fields.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/odoo-domain-of-o2m-fields-onchange-of-parent-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Domain of One2Many Child fields on the basis of parent fields"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6","name":"Jahangir Naik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Jahangir Naik"},"url":"https:\/\/webkul.com\/blog\/author\/jahangir260\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=99993"}],"version-history":[{"count":15,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99993\/revisions"}],"predecessor-version":[{"id":283818,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99993\/revisions\/283818"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/45511"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=99993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=99993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=99993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}