{"id":33029,"date":"2025-11-19T11:32:21","date_gmt":"2025-11-19T11:32:21","guid":{"rendered":"https:\/\/tenthplanet.in\/odoo\/?p=33029"},"modified":"2025-11-28T12:33:02","modified_gmt":"2025-11-28T12:33:02","slug":"update-the-basic-cost-and-validate-gkm-in-an-odoo-gr-bill","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/odoo\/product\/purchase\/update-the-basic-cost-and-validate-gkm-in-an-odoo-gr-bill\/","title":{"rendered":"How to Update the Basic Cost and Validate GKM% in an Odoo GR Bill"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In Odoo, <strong>GKM (Gate Keeping Margin)<\/strong> is used to ensure that every product maintains a minimum profit margin. It acts as a safeguard against purchasing items at prices that could reduce profitability.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you create a GR Bill, GKM checks that the <strong>basic cost<\/strong> entered does not bring the margin below the predefined GKM percentage. If the margin goes below this limit, Odoo automatically displays a warning message and resets the cost to match the original value from the GR Bill.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Enabling GKM Validation and Configuring Product GKM%<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before using GKM in the GR Bill, you need to make sure that <strong>GKM validation<\/strong> is enabled in your system settings. To do this, go to <strong>Settings \u2192 General Settings \u2192 Constrain Validation<\/strong>, and enable the option <strong>GKMargin Validation<\/strong>. This activates the GKM validation across your Odoo instance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, open the <strong>Product Master<\/strong> and go to the <strong>Price Info<\/strong> tab. Here, you can set the <strong>GKM%<\/strong> for each product. This percentage defines the minimum profit margin that Odoo will check during GR Bill creation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"779\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Inventory-Product-GKM-1024x779.png\" alt=\"Odoo Inventory Product GKM\" class=\"wp-image-33030\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Inventory-Product-GKM-1024x779.png 1024w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Inventory-Product-GKM-300x228.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Inventory-Product-GKM-768x584.png 768w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Inventory-Product-GKM.png 1191w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Receiving Products After Purchase Order Approval<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once a <strong>Purchase Order (PO)<\/strong> is confirmed and approved, the <strong>Receive Products<\/strong> button becomes active. This allows you to record the actual quantity of products received from the vendor. After receiving the products, the system generates a <strong>Goods Receipt (GR)<\/strong>, which acts as confirmation that the products have arrived.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating the GR Bill<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the Goods Receipt, the <strong>Create GR Bill<\/strong> button becomes available. Clicking this button begins the process of creating a vendor bill. During this step, you can enter details such as the <strong>vendor invoice number<\/strong> in the Bill Number field. This bill will reflect the products received, their costs, and other financial details that link back to the PO and GR.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Basic Cost<\/strong> that appears in the GR Bill is automatically fetched from the Purchase Order. You can review this cost and, if necessary, make adjustments within the GR Bill screen. Any changes made to the Basic Cost directly influence the <strong>Markup<\/strong> and <strong>Markdown<\/strong> values, which represent how the cost compares to the product\u2019s selling price and margin thresholds.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"836\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-Draft-GR-Bill-1024x836.png\" alt=\"Odoo Purchase Draft GR Bill\" class=\"wp-image-33032\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-Draft-GR-Bill-1024x836.png 1024w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-Draft-GR-Bill-300x245.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-Draft-GR-Bill-768x627.png 768w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-Draft-GR-Bill.png 1163w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When you modify the Basic Cost, Odoo automatically checks the <strong>GKM%<\/strong> to ensure that your product\u2019s margin remains within the acceptable range. If the <strong>Markdown%<\/strong> falls below the GKM%, the system triggers a validation error, displaying a message such as: <strong>\u201cProduct margin is less than GKM% in \u2018Product Name\u2019&#8221;.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"834\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GR-Bill-GKM-Validation-1-1024x834.png\" alt=\"Odoo Purchase GR Bill GKM Validation\" class=\"wp-image-33033\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GR-Bill-GKM-Validation-1-1024x834.png 1024w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GR-Bill-GKM-Validation-1-300x244.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GR-Bill-GKM-Validation-1-768x625.png 768w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GR-Bill-GKM-Validation-1.png 1167w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After showing this warning, Odoo resets the Basic Cost back to the original value from the Purchase Order, maintaining compliance with the minimum margin rule. In some cases, you may still need to lower the Basic Cost even if it goes below the GKM percentage. To do this, you can manually update the Basic Cost again after the warning appears.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the system will only allow you to save the GR Bill if the new <strong>Markdown%<\/strong> remains greater than or equal to the GKM%. This ensures that even manual changes respect the minimum profit margin policy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Finalizing the GR Bill<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the GKM validation is passed and all cost values are confirmed, you can finalize the GR Bill. At this stage, make sure all mandatory fields such as <strong>Total Value<\/strong>, <strong>Taxable Amount<\/strong>, and <strong>Tax Amount<\/strong> are filled in correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, click <strong>Confirm<\/strong> to complete the process. The GR Bill is now validated and ready for further financial processing within Odoo.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"825\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GKM-GR-BillCompletion-1024x825.png\" alt=\"Odoo Purchase GKM GR Bill Completion\" class=\"wp-image-33034\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GKM-GR-BillCompletion-1024x825.png 1024w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GKM-GR-BillCompletion-300x242.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GKM-GR-BillCompletion-768x619.png 768w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Purchase-GKM-GR-BillCompletion.png 1167w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In Odoo, GKM (Gate Keeping Margin) is used to ensure that every product maintains a minimum profit margin. It acts [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[383],"tags":[474,476,459],"class_list":["post-33029","post","type-post","status-publish","format-standard","hentry","category-purchase","tag-gkm","tag-gr-bill","tag-purchase"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts\/33029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/comments?post=33029"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts\/33029\/revisions"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/media?parent=33029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/categories?post=33029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/tags?post=33029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}