<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Divya Rai on Medium]]></title>
        <description><![CDATA[Stories by Divya Rai on Medium]]></description>
        <link>https://medium.com/@raidivya?source=rss-90231f5f8997------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oi6_8NrZTYMcW1idxRMzHA.png</url>
            <title>Stories by Divya Rai on Medium</title>
            <link>https://medium.com/@raidivya?source=rss-90231f5f8997------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 21:09:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raidivya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Scrap and Replenish Components in Odoo Manufacturing]]></title>
            <link>https://medium.com/@raidivya/how-to-scrap-and-replenish-components-in-odoo-manufacturing-eb5b93ce5b5b?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb5b93ce5b5b</guid>
            <category><![CDATA[odoomanufacturing]]></category>
            <category><![CDATA[odoomanufacturingerp]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoomanufacturingsoftware]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 05:20:54 GMT</pubDate>
            <atom:updated>2024-09-24T05:20:54.196Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, we dive into a vital aspect of manufacturing management: scrapping components and products during or after the manufacturing process. In the real world, components or finished products can become unusable for a variety of reasons. It could be a defective part from a vendor or damage sustained during production. Regardless of the cause, scrapping such items ensures your inventory stays accurate, while Odoo helps you replenish those items seamlessly.</p><p>Let’s break down the scrapping process in Odoo and see how it functions in both one-step and two/three-step manufacturing processes.</p><h3>Understanding Scrapping in Odoo</h3><p>Scrapping a component or product removes it from your active inventory and places it in a designated scrap location. Additionally, Odoo offers the ability to replenish the scrapped quantity, allowing the manufacturing process to continue without delay.</p><p>Ready to get scrapping? Let’s start!</p><h3>Scrapping in One-Step Manufacturing</h3><p>In a one-step manufacturing process, scrapping follows a straightforward workflow. Here’s how you can scrap a component while ensuring the replenishment process runs smoothly.</p><ol><li><strong>Navigate to Inventory and Configure Your Warehouse:</strong></li></ol><ul><li>Go to the Inventory application, select <em>Configuration</em>, and then click on <em>Warehouses</em>.</li><li>Ensure that the <em>Manufacture One Step</em> option is enabled under the manufacturing section of your warehouse.</li></ul><p>2.<strong> Select the Product:</strong></p><ul><li>In the Inventory app, go to <em>Products</em> and select the component you wish to scrap. For example, let’s use a wooden pole component.</li><li>Under the Inventory tab, ensure that the <em>Buy Route</em> is selected for replenishment, and that a vendor is assigned in the Purchase tab.</li></ul><p>3. <strong>Create a Manufacturing Order (MO):</strong></p><ul><li>Head to the Manufacturing application and create a new manufacturing order (MO) by selecting <em>Operations &gt; Manufacturing Orders &gt; New</em>.</li><li>Choose your product (e.g., a coat rack) and confirm the order.</li></ul><p>4. <strong>Scrap the Component:</strong></p><ul><li>If the wooden pole component is defective (say, it has a crack), click the <em>Scrap</em> button in the MO.</li><li>In the <em>Scrap Products</em> pop-up, select the defective product (e.g., wooden pole) and enable the <em>Replenish Quantities</em> checkbox.</li><li>Click <em>Scrap Products</em> to finalize the scrapping process.</li></ul><p>5. <strong>Replenish the Component:</strong></p><ul><li>After scrapping, the MO status will change from <em>Ready</em> to <em>Waiting</em> since the component is now unavailable.</li><li>A new purchase order will be automatically created to replenish the wooden pole. Confirm the purchase, receive the product, and validate the new stock.</li></ul><p>6. <strong>Resume Manufacturing:</strong></p><p>Once the component is replenished, return to the MO, where the status will switch from <em>Waiting</em> to <em>Ready</em>. You can now proceed with manufacturing and complete the MO.</p><p>This seamless process allows you to handle defective components without halting production, especially when inventory levels are low.</p><h3><strong>Scrapping Finished Products</strong></h3><p>Once a product is fully manufactured, scrapping works similarly. After the product is created, you can scrap the finished product directly from the MO.</p><p>For example, if you wish to scrap a finished coat rack, click <em>Scrap</em>, select the finished product, enable <em>Replenish Quantities</em>, and confirm. Odoo will automatically create a new manufacturing order to replace the scrapped unit.</p><h3>Scrapping in Two or Three-Step Manufacturing</h3><p>For more complex manufacturing processes that involve two or three steps, the scrapping process differs slightly.</p><ol><li><strong>Set Up Two/Three-Step Manufacturing:</strong></li></ol><p>Go to the Inventory application, select <em>Configuration &gt; Warehouses</em>, and enable the <em>Pick Components then Manufacture</em> option for your warehouse.</p><p>2. <strong>Create a Manufacturing Order:</strong></p><ul><li>Similar to the one-step process, create a new MO for a product, such as a coffee table.</li><li>Once you confirm the order, the status in the chatter will appear as <em>Waiting Another Operation</em>, as components need to be transferred to the production location first.</li></ul><p><strong>3. Transfer Components:</strong></p><ul><li>Click the <em>Transfer</em> button to move the components to the production area, and then validate the transfer.</li></ul><p>4<strong>. Scrap Components:</strong></p><ul><li>If a component (e.g., a scratched tabletop) is defective, scrap it the same way by clicking the <em>Scrap</em> button.</li><li>Select the component, enable <em>Replenish Quantities</em>, and confirm the scrap action.</li></ul><p>5. <strong>Replenish the Component:</strong></p><ul><li>In two/three-step manufacturing, instead of creating a purchase order, Odoo generates a new picking order to transfer the replacement component to the production location.</li><li>Validate the picking order to transfer the component and resume manufacturing.</li></ul><p>In the event that no extra stock is available, you may need to create a manual purchase or manufacturing order to replenish the scrapped components.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb5b93ce5b5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Custom Dashboard in Odoo]]></title>
            <link>https://medium.com/@raidivya/building-a-custom-dashboard-in-odoo-040ad32a7a4f?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/040ad32a7a4f</guid>
            <category><![CDATA[custom-dashboard]]></category>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[modern-odoo-dashboard]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sat, 31 Aug 2024 12:06:35 GMT</pubDate>
            <atom:updated>2024-08-31T12:06:35.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a custom dashboard in Odoo can transform how your business operates, enabling you to visualize critical data, make better decisions, and ultimately drive your business forward. Despite being one of the most powerful features in Odoo, dashboards are often underutilized. In this guide, I’ll walk you through how to create a custom sales dashboard that aggregates data from various modules, providing you with a comprehensive view of your business operations.</p><h3>Why Dashboards Matter</h3><p>Dashboards in Odoo allow you to gather all your business data in one place, enabling you to make informed decisions quickly. Imagine being able to see your quotations, orders, revenue, and more — all at a glance. A well-designed dashboard can be the difference between running a $1 million business or a $10 million business, as the decisions you make are based on the data you have at hand.</p><h3>Step 1: Start with Sales Data</h3><p>For this example, we’ll focus on sales data, but the process can be adapted for other modules like CRM, Inventory, or Accounting. The goal is to build a dashboard that provides a high-level overview of your sales performance, broken down by sales teams and individual salespeople.</p><ol><li><strong>Group Sales Data by Sales Team</strong>:</li></ol><ul><li>Navigate to the Sales module and start by grouping your data by Sales Team. This will give you a leaderboard view of your top-performing teams.</li><li>Once grouped, insert this data into a new spreadsheet within Odoo. This will be the foundation of your dashboard.</li></ul><p><strong>2. Create a Sales Team Leaderboard</strong>:</p><ul><li>In your spreadsheet, create a new sheet for the leaderboard. You’ll want to list your top 10 sales teams along with their sales amounts.</li><li>Use the pivot table feature to aggregate the sales data. This can be done by inserting a pivot cell and selecting the appropriate data fields.</li></ul><p>3. <strong>Automate Ranking with Formulas</strong>:</p><ul><li>To automatically rank your sales teams, use a simple formula to sort the teams by sales amount. This ensures that your leaderboard dynamically updates as new data comes in.</li></ul><h3>Step 2: Add Salesperson Performance Data</h3><p>Next, let’s drill down into the performance of individual salespeople. This will give you insights into who your top performers are.</p><ol><li><strong>Group Data by Salesperson</strong>:</li></ol><ul><li>Again, navigate to the Sales module and group your data by Salesperson. This will show you how each person is performing.</li><li>Insert this data into a new pivot table within your spreadsheet.</li></ul><p>2. <strong>Create a Salesperson Leaderboard</strong>:</p><ul><li>Similar to the Sales Team Leaderboard, create a new section in your dashboard for Salespeople. List the top 10 salespeople along with their sales amounts.</li></ul><p>3. <strong>Ensure Data Accuracy</strong>:</p><ul><li>Double-check that your formulas and pivot tables are correctly pulling data. It’s crucial that your leaderboard reflects accurate and up-to-date information.</li></ul><h3>Step 3: Integrate Key Metrics</h3><p>A dashboard is incomplete without key metrics that give you an overview of your business’s health. Let’s add some scorecards to track the total number of orders, total revenue, and average order value.</p><ol><li><strong>Calculate Key Metrics</strong>:</li></ol><ul><li>In your data tab, create fields for Total Sales Amount, Total Count of Sales, and Average Sale Amount. Use simple calculations to populate these fields.</li></ul><p>2. <strong>Visualize Metrics with Scorecards</strong>:</p><ul><li>Insert these metrics into your dashboard as scorecards. These scorecards provide a quick snapshot of your business performance.</li></ul><p>3. <strong>Customize the Look and Feel</strong>:</p><ul><li>While this guide focuses on functionality, don’t forget to spend some time on the aesthetics. A clean and well-organized dashboard is easier to read and interpret.</li></ul><h3>Step 4: Add Filters for Better Insights</h3><p>Filters allow you to narrow down your data, giving you more control over the information displayed on your dashboard.</p><ol><li><strong>Add Filters for Sales Team and Salesperson</strong>:</li></ol><ul><li>In your dashboard configuration, add filters that allow you to view data by Sales Team and Salesperson. This makes it easier to drill down into specific segments.</li></ul><p><strong>2. Include Date Filters</strong>:</p><ul><li>Adding a date filter (e.g., month, quarter) allows you to analyze trends over time. Ensure that the dashboard updates dynamically based on the selected date range.</li></ul><h3>Step 5: Publish and Test Your Dashboard</h3><p>Once your dashboard is set up, it’s time to publish and test it.</p><ol><li><strong>Publish the Dashboard</strong>:</li></ol><ul><li>Save and publish your dashboard, making sure it’s accessible to the appropriate users within your organization.</li></ul><p><strong>2. Test the Filters and Data Accuracy</strong>:</p><ul><li>Before rolling it out company-wide, test the dashboard thoroughly. Ensure that the filters work as expected and that all data is accurate.</li></ul><p><strong>3. Iterate Based on Feedback</strong>:</p><ul><li>Collect feedback from your team and make any necessary adjustments. A dashboard should be a living tool that evolves with your business needs.</li></ul><h3>Conclusion</h3><p>Building a custom dashboard in Odoo might seem daunting, but it’s a powerful way to leverage the data you already have. With a well-designed dashboard, you can make informed decisions that propel your business forward. Whether you’re tracking sales performance, inventory levels, or customer interactions, a custom dashboard can provide the insights you need to succeed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=040ad32a7a4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manufacturing Orders (MOs) in Odoo]]></title>
            <link>https://medium.com/@raidivya/manufacturing-orders-mos-in-odoo-be6922bb1147?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/be6922bb1147</guid>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-customizationservice]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoomanufacturing]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sat, 31 Aug 2024 09:19:39 GMT</pubDate>
            <atom:updated>2024-08-31T09:19:39.298Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, we’re diving into an exciting topic: Manufacturing Orders (MOs) and Work Orders within Odoo’s Manufacturing app. By the end of this tutorial, you’ll have a clear understanding of how to create and manage MOs and the associated Work Orders, streamlining your production process in Odoo.</p><h3>What Are Manufacturing Orders (MOs)?</h3><p>In Odoo’s Manufacturing app, a Manufacturing Order (MO) is an order to produce a specific quantity of a product. For example, you might create an MO to produce five units of a product like the “Coat Rack.” Work Orders are the smaller production steps that need to be completed to fulfill an MO, such as assembling components to create the final product.</p><h3>Creating a New Manufacturing Order</h3><p>To create a new Manufacturing Order in Odoo:</p><ol><li><strong>Navigate to the Manufacturing App</strong>: Start by opening the Manufacturing app from your main Odoo dashboard.</li><li><strong>Access Manufacturing Orders</strong>: Go to the “Operations” menu at the top of the screen and select “Manufacturing Orders.”</li><li><strong>Create a New MO</strong>: Click the “New” button at the top left of the Manufacturing Orders page to open a new MO form.</li></ol><h3>Configuring Your Manufacturing Order</h3><p>On the MO form, the first step is to select the product you wish to manufacture. For instance, let’s select our “Coat Rack” product. It’s important to note that MOs can only be created for one or more units of a single product. If you need to manufacture a different product, like a dining table, you’ll need to create a separate MO.</p><h4>Auto-Populating the Bill of Materials (BoM)</h4><p>Once a product is selected, the “Bill of Material” field auto-populates with the BoM for that product. A BoM acts as the blueprint for the product, detailing all required components and Work Orders. If a product has multiple BoMs, you can select a different one by clicking on the “Bill of Material” field.</p><p>For example, you might select the “Upside Down: Coat Rack” BoM, although such a product may not be in high demand!</p><h3>Setting the Product Quantity</h3><p>In the “Quantity” field, you can specify how many units of the product will be manufactured. For example, entering ‘5’ would automatically update the component quantities and expected duration of Work Orders on the tabs below. For simplicity, let’s stick to a quantity of 1.</p><h3>Understanding Components and Work Orders Tabs</h3><p>When you select a product or BoM, the “Components” and “Work Orders” tabs on the MO form auto-populate.</p><ul><li><strong>Components Tab</strong>: Displays all the components required to manufacture the product. For the Coat Rack, components include the “Wooden Pole” and the “Wooden Dowel.” The required quantity of each component is shown on the right side of the product lines.</li><li><strong>Work Orders Tab</strong>: Lists the operations needed to manufacture the product. For the Coat Rack, these operations might include drilling the pole and inserting the dowels. Each operation line also shows the work center where it will be carried out and the expected duration, such as 60 minutes for each operation.</li></ul><h3>Scheduling and Confirming the MO</h3><p>The “Scheduled Date” and “End” fields on the MO form reflect the total time needed to complete all Work Orders. The “End” time is set to two hours after the “Scheduled Date” if both operations take 60 minutes each. You can adjust the “Scheduled Date,” but the “End” field will always account for the expected duration of all Work Orders.</p><p>Once everything looks good, confirm the MO by clicking “Confirm” at the top left of the page.</p><h3>Post-Confirmation Changes</h3><p>After confirming the MO, several new fields and changes appear:</p><ul><li><strong>Component Status</strong>: If all required components are in stock, this status reads “Available” in green font, indicating the MO is ready to start. If components are missing, it reads “Not Available.” In cases where two or three-step manufacturing is enabled, the status may read “Waiting for Components” in orange font.</li><li><strong>Work Order Status</strong>: In the “Work Orders” tab, the “Status” column shows the current status of each Work Order. The first Work Order, such as “Drill Pole,” will be marked as “Ready” once the MO is ready.</li></ul><h3>Processing Work Orders</h3><p>To begin a Work Order, click “Start” on the corresponding line, which starts the “Real Duration” timer and changes the status to “In Progress.” Once completed, click “Done” to mark the Work Order as finished. Subsequent Work Orders will change status from “Waiting” to “Ready” as the previous ones are completed.</p><h3>Completing the Manufacturing Order</h3><p>With all Work Orders marked as “Finished,” you’re ready to close the MO. Click the “Produce All” button at the top left of the screen. Congratulations, you’ve successfully produced one Coat Rack!</p><h3>Conclusion</h3><p>And that’s it! Today, we walked through the entire process of creating and managing Manufacturing Orders and Work Orders in Odoo. With these steps, you can efficiently manage your production process. Stay tuned for more tutorials, and see you in the next one!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be6922bb1147" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Odoo Manufacturing Process: Practice Queries and Answers]]></title>
            <link>https://medium.com/@raidivya/odoo-manufacturing-process-practice-queries-and-answers-ff8bb964955d?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff8bb964955d</guid>
            <category><![CDATA[odoomanufacturingsoftware]]></category>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoomanufacturing]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 18:04:31 GMT</pubDate>
            <atom:updated>2024-08-29T18:04:31.392Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Understanding Bill of Materials (BOM)</h3><h3>Question:</h3><p>What is a Bill of Materials (BOM), and why is it important in the manufacturing process?</p><h3>Answer:</h3><p>A Bill of Materials (BOM) is a comprehensive list of components, raw materials, and subassemblies required to manufacture a finished product. It is crucial in the manufacturing process because it provides a detailed blueprint of all the items needed, ensuring that the production team has everything required to complete the product. In Odoo, the BOM helps automate the procurement of materials and guides the manufacturing team during assembly.</p><h3>2. Creating a New Product in Odoo</h3><h3>Question:</h3><p>Describe the steps to create a new product in Odoo. What key information must be provided?</p><h3>Answer:</h3><p>To create a new product in Odoo:</p><ol><li>Go to <strong>Inventory</strong> &gt; <strong>Master Data</strong> &gt; <strong>Products</strong>.</li><li>Click <strong>Create</strong> to add a new product.</li><li>Enter the <strong>Product Name</strong> (e.g., Bicycle).</li><li>Select the <strong>Product Type</strong> (e.g., Storable Product).</li><li>Choose the <strong>Product Category</strong> (e.g., All / Saleable).</li><li>Set the <strong>Sales Price</strong> and <strong>Cost</strong>.</li><li>Save the product.</li></ol><p>Key information required includes the product name, type, category, sales price, and cost.</p><h3>3. Setting Up Reordering Rules</h3><h3>Question:</h3><p>What are reordering rules in Odoo, and how do you set them up?</p><h3>Answer:</h3><p>Reordering rules in Odoo automate the process of replenishing stock when inventory levels fall below a certain threshold. To set up reordering rules:</p><ol><li>Go to <strong>Inventory</strong> &gt; <strong>Master Data</strong> &gt; <strong>Products</strong>.</li><li>Select a product (e.g., Frame).</li><li>Click on the <strong>Reordering Rules</strong> tab.</li><li>Set the <strong>Minimum Quantity</strong> (e.g., 5) and <strong>Maximum Quantity</strong> (e.g., 20).</li><li>Assign a <strong>Vendor</strong> for procurement.</li><li>Save the rule.</li></ol><p>Reordering rules help ensure that there are always enough components available for manufacturing.</p><h3>4. Creating and Confirming a Manufacturing Order</h3><h3>Question:</h3><p>How do you create and confirm a Manufacturing Order (MO) in Odoo?</p><h3>Answer:</h3><p>To create and confirm a Manufacturing Order in Odoo:</p><ol><li>Go to <strong>Manufacturing</strong> &gt; <strong>Operations</strong> &gt; <strong>Manufacturing Orders</strong>.</li><li>Click <strong>Create</strong>.</li><li>Select the <strong>Product</strong> to manufacture (e.g., Bicycle).</li><li>Choose the appropriate <strong>Bill of Materials (BOM)</strong>.</li><li>Set the <strong>Quantity</strong> to be produced.</li><li>Click <strong>Confirm</strong> to initiate the manufacturing process.</li></ol><p>Once confirmed, the Manufacturing Order will generate work orders for each step of the production process.</p><h3>5. Understanding Work Orders in Manufacturing</h3><h3>Question:</h3><p>What are work orders, and how do they fit into the manufacturing process? Provide an example.</p><h3>Answer:</h3><p>Work orders in Odoo represent individual steps in the manufacturing process, detailing the operations required to assemble a product. They are generated from a Manufacturing Order and guide the production team on what needs to be done.</p><p><strong>Example:</strong> For a bicycle, work orders might include:</p><ul><li><strong>Wheel Assembly</strong>: Attaching the wheels to the frame.</li><li><strong>Frame Assembly</strong>: Assembling the frame components.</li><li><strong>Seat Attachment</strong>: Securing the seat to the frame.</li></ul><p>Each work order ensures that the production process is carried out systematically and efficiently.</p><h3>6. Managing Quality Control in Odoo</h3><h3>Question:</h3><p>Describe how you would manage quality control for a manufactured product in Odoo.</p><h3>Answer:</h3><p>Quality control in Odoo involves several steps:</p><ol><li><strong>Logging a Quality Issue:</strong> If a customer reports an issue, create a quality alert in <strong>Quality</strong> &gt; <strong>Quality Control</strong> &gt; <strong>Quality Alerts</strong>.</li><li><strong>Root Cause Analysis (RCA):</strong> Investigate the cause of the issue (e.g., a faulty component).</li><li><strong>Corrective Actions:</strong> Update the BOM or create an Engineering Change Order (ECO) to fix the issue.</li><li><strong>Preventative Measures:</strong> Implement quality control points during manufacturing to catch similar issues in the future.</li></ol><p>These steps help maintain product quality and address any defects efficiently.</p><h3>7. Differentiating Corrective and Preventative Maintenance</h3><h3>Question:</h3><p>What is the difference between corrective and preventative maintenance in Odoo?</p><h3>Answer:</h3><ul><li><strong>Corrective Maintenance</strong> involves fixing existing issues, such as repairing a broken tool or machinery. It is reactive and occurs after a problem has been identified.</li><li><strong>Preventative Maintenance</strong> involves routine checks and tune-ups to prevent potential issues before they occur. It is proactive and helps avoid unplanned downtime and costly repairs.</li></ul><p>Both types of maintenance are important for keeping manufacturing equipment in good working order.</p><h3>8. Preparing a Sales Order and Managing Delivery</h3><h3>Question:</h3><p>Explain the steps to prepare a sales order and manage the delivery of manufactured goods in Odoo.</p><h3>Answer:</h3><p>To prepare a sales order and manage delivery:</p><ol><li><strong>Create a Sales Order:</strong> Go to <strong>Sales</strong> &gt; <strong>Orders</strong> &gt; <strong>Quotations</strong> and click <strong>Create</strong>. Select the customer, add the product (e.g., Bicycle), and confirm the order.</li><li><strong>Prepare Shipment:</strong> Go to <strong>Inventory</strong> &gt; <strong>Operations</strong> &gt; <strong>Delivery Orders</strong>. Select the linked delivery order and <strong>Validate</strong> it to ship the goods.</li><li><strong>Generate Invoice:</strong> Go back to the Sales Order and click <strong>Create Invoice</strong>. Validate the invoice and send it to the customer.</li></ol><p>This process ensures that the finished goods are delivered to the customer and the sales transaction is completed.</p><p>This document covers all key aspects of the manufacturing process in Odoo, providing both questions and answers to facilitate learning and practice. Whether you’re new to Odoo or looking to deepen your understanding, these queries will help solidify your knowledge and prepare you for real-world application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff8bb964955d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Manufacturing Processes with Odoo]]></title>
            <link>https://medium.com/@raidivya/understanding-manufacturing-processes-with-odoo-a-comprehensive-guide-a88b52fb2459?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/a88b52fb2459</guid>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoomanufacturing]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 17:48:38 GMT</pubDate>
            <atom:updated>2024-08-29T17:50:40.004Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>In this blog series, we will delve into the world of manufacturing, specifically focusing on how these processes are seamlessly managed within Odoo. Rather than jumping straight into the technicalities, we’ll start by understanding the fundamentals of manufacturing, including product sourcing, creation, and delivery. By the end of this blog, you’ll have a real-world understanding of the manufacturing process and how Odoo can streamline these operations.</p><p><strong>1. The Manufacturing Journey: From Design to Delivery</strong></p><p>In a typical manufacturing setup, the journey begins with the engineering team. These professionals design products using Computer-Aided Design (CAD) software like AutoCAD or SolidWorks. Once the design is finalized, they create a Bill of Materials (BOM), which lists all the components and sub-components required for manufacturing.</p><p>Imagine you’re building a bicycle. The BOM would include everything from the frame and wheels to smaller parts like screws and bolts. This detailed blueprint is crucial as it guides the procurement team in sourcing the necessary materials.</p><p><strong>2. Procurement: The Backbone of Manufacturing</strong></p><p>Once the BOM is ready, the next step is to procure the required materials. The procurement team, also known as the purchasing team, plays a vital role here. They source material vendors, compare prices, and determine how and when components should be ordered. This can be done through automated reordering rules or by analyzing replenishment reports.</p><p>After finalizing the vendors, the procurement team sends out requests for quotations or purchase orders to acquire the components. When these items arrive at the facility, they are handed over to the inventory team.</p><p><strong>3. Inventory Management: Ensuring Smooth Operations</strong></p><p>Inventory management is a critical aspect of manufacturing. The inventory team ensures that all received materials are properly stored, checked for quality, and assigned to the correct storage locations. This process might involve using barcode scanners to track incoming and outgoing products, ensuring everything is in the right place at the right time.</p><p>The inventory management system within Odoo is incredibly robust, allowing for real-time tracking and management across different departments, all from a single platform.</p><p><strong>4. Manufacturing: Bringing Ideas to Life</strong></p><p>With materials secured, the manufacturing team takes over. This team is responsible for the actual production of goods, which typically occurs in-house on production floors. Odoo’s manufacturing module is highly customizable, allowing you to define work centers based on different assembly types and purposes.</p><p>Work centers in Odoo can be tailored to your specific needs, including setup and cleanup times, work duration, and even assigning authorized workers to operate the machinery. Whether your manufacturing is done in-house or through subcontractors, Odoo has the flexibility to handle it all.</p><p><strong>5. Managing Manufacturing Orders and Work Orders</strong></p><p>Manufacturing begins once the demand is confirmed, usually through a sales order that triggers a manufacturing order (MO). The MO outlines the necessary components and their assembly, which is then broken down into work orders — specific operational steps that the product goes through during production.</p><p>Continuing with our bicycle example, work orders might include assembling the wheels, attaching the frame, and securing the seat. Each work order is crucial to ensure that the product is assembled correctly and efficiently.</p><p><strong>6. Quality Control and Post-Production</strong></p><p>Once the product is assembled, it either goes into storage or is delivered to the customer. However, quality control doesn’t end there. If a customer reports an issue, the quality team steps in to perform a root cause analysis (RCA). This process involves identifying the problem, whether it’s a faulty component or a design flaw, and taking corrective actions.</p><p>Odoo’s PLM (Product Lifecycle Management) app allows for easy implementation of Engineering Change Orders (ECOs), ensuring that any issues are promptly addressed and that the correct BOM version is used in future productions.</p><p><strong>7. Maintenance: Keeping Operations Running Smoothly</strong></p><p>A good manufacturing operation doesn’t just focus on production; it also emphasizes maintenance. Odoo supports both corrective and preventative maintenance. Corrective maintenance deals with fixing existing issues, while preventative maintenance involves regular tune-ups to avoid potential problems. This dual approach ensures that your work centers remain operational and that production backlogs are minimized.</p><p><strong>Conclusion</strong></p><p>From the initial product design to final delivery, Odoo seamlessly connects every step of the manufacturing process. This blog provides a basic overview of how manufacturing works within Odoo, but there’s much more to explore. In the following posts, we’ll dive deeper into each of these topics, helping you get the most out of Odoo for your manufacturing needs.</p><p>Stay tuned for more insights, and happy manufacturing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a88b52fb2459" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create Models in Odoo 17: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@raidivya/create-models-in-odoo-17-a-step-by-step-guide-966901682b9d?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/966901682b9d</guid>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoo-erp]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Mon, 19 Aug 2024 15:18:02 GMT</pubDate>
            <atom:updated>2024-08-19T15:18:02.535Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, we’ll be discussing how to create models in Odoo 17. This guide will walk you through the process, using the Odoo 17 Community Edition as our reference point. If you’ve been following our previous tutorials, you might recall that we covered the basics of module creation and adding an icon image to an Odoo module. Now, let’s dive into creating models.</p><h3>Understanding Models in Odoo</h3><p>Before we jump into the technical details, it’s important to understand what a model is in Odoo. Odoo uses PostgreSQL as its database system. When you create a model in Odoo, you’re essentially creating a table within the PostgreSQL database. This table will store the data that your module needs to manage.</p><p>For instance, if you’ve installed modules like Sales, Invoice, or Inventory in your Odoo instance, these modules require storage for their data — whether it’s sales orders, product details, or customer information. This storage is provided by the database tables created through models.</p><h3>Step-by-Step Process to Create a Model</h3><h4>1. Setting Up the Directory Structure</h4><p>Let’s begin by setting up the necessary directory structure in our custom module. Open your module in PyCharm (or any other IDE you’re using), and follow these steps:</p><ol><li><strong>Create a </strong><strong>models directory</strong>: Right-click on your module folder, select &quot;New &gt; Directory,&quot; and name it models.</li><li><strong>Create an </strong><strong>__init__.py file</strong>: Inside the models directory, create a new Python file named __init__.py. This file will ensure that the folder is treated as a Python package.</li><li><strong>Create the model file</strong>: Now, create another Python file inside the models folder and name it patient.py.</li></ol><h4>2. Defining the Model in Python</h4><p>With our structure in place, we can now define our model. Here’s how to proceed:</p><p>With our structure in place, we can now define our model. Here’s how to proceed:</p><ol><li><strong>Import necessary components</strong>: In the patient.py file, import the following from Odoo:</li></ol><pre>from odoo import api, fields, models</pre><p><strong>2. Define the model class</strong>: Create a class that will represent the model. This class will inherit from models.Model.</p><pre>class HospitalPatient(models.Model):<br>    _name = &#39;hospital.patient&#39;<br>    _description = &#39;Hospital Patient&#39;</pre><ul><li>The _name attribute specifies the name of the model, which will also be the name of the table in the PostgreSQL database (with dots replaced by underscores).</li><li>The _description attribute provides a brief description of the model.</li></ul><p><strong>3. Add fields to the model</strong>: Fields define the structure of the table, including the data types and attributes. Here’s an example:</p><pre>name = fields.Char(string=&quot;Name&quot;)<br>age = fields.Integer(string=&quot;Age&quot;)<br>gender = fields.Selection([<br>    (&#39;male&#39;, &#39;Male&#39;),<br>    (&#39;female&#39;, &#39;Female&#39;),<br>], string=&quot;Gender&quot;)</pre><ul><li>name: A character field for storing the patient&#39;s name.</li><li>age: An integer field for storing the patient&#39;s age.</li><li>gender: A selection field for storing the patient&#39;s gender.</li></ul><h4>3. Registering the Model</h4><p>After defining the model, it needs to be registered within the module’s initialization files. Here’s how:</p><ol><li><strong>Update the outer </strong><strong>__init__.py file</strong>: Import the models folder in the module&#39;s main __init__.py file.</li></ol><pre>from . import models</pre><h3>4. Executing and Verifying</h3><p>Now that the model is defined and registered, it’s time to execute the code:</p><ol><li><strong>Restart Odoo service</strong>: After making changes to the Python code, always restart the Odoo service to apply the changes.</li><li><strong>Upgrade the module</strong>: Go to the Odoo UI, navigate to the Apps menu, and upgrade your module. If it’s not installed, install it first.</li></ol><p>After the upgrade, if everything is set up correctly, you can verify the model creation:</p><ol><li><strong>Activate Developer Mode</strong>: Go to Settings, activate the debug mode, and navigate to Technical &gt; Database Structure &gt; Models.</li><li><strong>Check the model</strong>: Search for hospital.patient in the models list. You should see the table created with the fields you defined.</li></ol><h3>5. Accessing the Database Table</h3><p>To view the actual table in PostgreSQL, you can use the terminal:</p><ol><li><strong>Log into PostgreSQL</strong>: Use the following commands</li></ol><pre>sudo -i -u postgres<br>psql</pre><p>2. Connect to the database</p><pre>\c dev_db</pre><p>3. View the table structure</p><pre>SELECT * FROM hospital_patient;</pre><p>You should now see the structure of the table with the fields id, name, age, and gender.</p><p>Creating models in Odoo is a straightforward process once you understand the basics. You define the model in Python, register it, and then verify its creation in the database. In future posts, we’ll explore more advanced topics, including different field types and how to manage relationships between models.</p><p>If you have any questions or feedback, feel free to reach out or leave a comment below. And if you found this guide helpful, don’t forget to like and share it!</p><p>Thank you, and have a great day!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=966901682b9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add an Icon Image for a Custom Module in Odoo 17]]></title>
            <link>https://medium.com/@raidivya/add-an-icon-image-for-a-custom-module-in-odoo-17-c8480d51f31a?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8480d51f31a</guid>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-custom-development]]></category>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 18:03:34 GMT</pubDate>
            <atom:updated>2024-08-18T18:03:34.274Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we will guide you on how to add an icon image to your custom module in Odoo 17. If you’ve already followed the previous video tutorial on how to create a basic custom module, this step will help improve its appearance by adding a customized icon.</p><h3>Step 1: Understanding the Default Icon</h3><p>When you create a custom module without specifying an icon, Odoo assigns a default square icon. If you check modules like Sales, Invoicing, or CRM, you’ll notice that they have unique and identifiable icons. In this tutorial, we’ll show you how to add an icon for the custom “Hospital Management” module.</p><h3>Step 2: Prepare the Icon Image</h3><ul><li><strong>Format:</strong> Your icon image must be in PNG format.</li><li><strong>Naming Convention:</strong> The file must be named icon.png.</li></ul><p>In this example, we’ve downloaded an image, renamed it to icon.png, and confirmed that it’s in PNG format.</p><h3>Step 3: Add the Image to the Module</h3><ol><li><strong>Navigate to Your Module Folder:</strong> In your Odoo custom add-ons directory, locate the folder for your module, e.g., demo_hospital.</li><li><strong>Create the Necessary Directories:</strong></li></ol><p>Inside the module folder, create the following subdirectories:</p><ul><li>A directory named static.</li><li>Inside the static directory, create another directory named description.</li></ul><p>Your folder structure should look like this:</p><pre>demo_hospital/<br>└── static/<br>    └── description/</pre><p>3. <strong>Place the Image:</strong> Copy your icon.png image into the description folder you just created. The path should be:</p><pre>demo_hospital/static/description/icon.png</pre><h3>Step 4: Update Odoo</h3><ol><li><strong>Restart the Odoo Service:</strong></li></ol><p>After adding the image, restart the Odoo service to apply the changes.</p><p><strong>2. Update the App List:</strong></p><ul><li>Go to <strong>Settings</strong> in Odoo.</li><li>Activate the <strong>Developer Mode</strong>.</li><li>Scroll down and click on <strong>Update App List</strong>.</li></ul><p><strong>3. Verify the Icon:</strong> Go to the Apps menu and refresh. You should now see the new icon for your module.</p><p><strong>Step 5: Add Author Information (Optional)</strong></p><p>If you want your name or company to appear as the author of the module:</p><ol><li>Open the __manifest__.py file inside your module.</li><li>Add the following line under the module metadata:</li></ol><pre>&#39;author&#39;: &#39;Your Name&#39;,</pre><p>3. Restart the Odoo service and update the app list again. You will now see your author name under the module info.</p><p>You’ve successfully added a custom icon to your Odoo module. This small detail enhances the appearance and professionalism of your module.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8480d51f31a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create a Custom Module in Odoo 17: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@raidivya/how-to-create-a-custom-module-in-odoo-17-a-step-by-step-guide-f646ae6008af?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/f646ae6008af</guid>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-17]]></category>
            <category><![CDATA[odoo]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 03:11:00 GMT</pubDate>
            <atom:updated>2024-08-18T03:11:00.501Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to our tutorial on creating a custom module in Odoo 17! This guide will walk you through the steps needed to build your first module from scratch. Whether you’re new to Odoo development or just upgrading from a previous version, this tutorial is designed to get you started quickly.</p><p>Odoo 17 Community Edition is the platform we’ll be using, and the development environment has already been configured using PyCharm. If you haven’t set up your environment yet, I recommend following a guide on configuring PyCharm with Odoo.</p><p>In this tutorial, we’ll cover the basics of module creation. We’ll start with setting up the directory, creating essential files, and then testing our module in Odoo. Let’s dive in!</p><p><strong>Step 1: Setting Up the Module Directory</strong></p><p>To begin, open PyCharm. I’ve created a folder named custom_addons within my project, and it’s currently empty. This folder has already been added to the Odoo configuration file under the addons path, which ensures Odoo recognizes any modules placed here.</p><p>Our first step is to create a new directory inside the custom_addons folder. This directory will serve as the base for our module.</p><p>For this tutorial, we’ll name the module demo_hospital. This naming convention helps in identifying the purpose of the module at a glance. To create this directory:</p><ol><li>Right-click on the custom_addons folder.</li><li>Select New &gt; Directory.</li><li>Name the directory demo_hospital.</li></ol><p>This folder is now the base for our module, where we will store all the necessary files.</p><p><strong>Step 2: Creating Essential Files</strong></p><p>Inside the demo_hospital folder, we need to create two critical files: __init__.py and __manifest__.py. These files are mandatory for every Odoo module and serve different purposes.</p><ul><li><strong>__init__.py</strong>: This file is used to import Python files within your module. We’ll keep it empty for now, but it will be used later when we add more functionality to the module.</li><li><strong>__manifest__.py</strong>: This file contains metadata about the module, including its name, version, dependencies, and more.</li></ul><p>To create these files:</p><ol><li>Right-click inside the demo_hospital folder.</li><li>Select New &gt; Python File.</li><li>Name the file __init__.py.</li></ol><p>Repeat the process to create the __manifest__.py file. This file should contain the following structure:</p><pre>{<br>    &#39;name&#39;: &#39;Hospital Management&#39;,<br>    &#39;version&#39;: &#39;1.0.0&#39;,<br>    &#39;category&#39;: &#39;Hospital&#39;,<br>    &#39;summary&#39;: &#39;Hospital Management System&#39;,<br>    &#39;description&#39;: &quot;&quot;&quot;<br>        A module to manage hospital operations including patient management, <br>        appointments, billing, and more.<br>    &quot;&quot;&quot;,<br>    &#39;depends&#39;: [],<br>    &#39;data&#39;: [],<br>    &#39;demo&#39;: [],<br>    &#39;installable&#39;: True,<br>    &#39;auto_install&#39;: False,<br>    &#39;license&#39;: &#39;LGPL-3&#39;,<br>    &#39;application&#39;: True,<br>    &#39;sequence&#39;: -100,<br>}</pre><p>This basic structure includes essential information like the module name, version, category, summary, description, and more. You can customize the content based on the specifics of your module.</p><p><strong>Step 3: Testing the Module</strong></p><p>With the basic module structure in place, it’s time to test it in Odoo.</p><ol><li>Restart the Odoo service from PyCharm. This step ensures that the changes you’ve made are recognized by Odoo.</li><li>Navigate to the Odoo UI in your web browser, go to the Apps menu, and click on “Update Apps List.”</li><li>In the search bar, type “Hospital” to find your newly created module, “Hospital Management.”</li></ol><p>If you want your module to appear at the top of the list, ensure that the sequence value in the __manifest__.py file is set to a lower number, such as -100. This tells Odoo to display your module first in the list.</p><p>Congratulations! You’ve successfully created and tested your first custom module in Odoo 17. This module, though basic, lays the foundation for more complex developments in Odoo. In future tutorials, we’ll explore how to add models, views, menus, and other functionalities to your module.</p><p>If you have any questions, feedback, or suggestions, feel free to reach out. Happy coding!</p><p><strong>Contact Information:</strong></p><p>For any queries, you can reach me at <a href="http://rai.divya.shankar@gmail.com/"><strong>rai.divya.shankar@gmail.com</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f646ae6008af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure Custom Addons Path in Odoo 17]]></title>
            <link>https://medium.com/@raidivya/configure-custom-addons-path-in-odoo-17-76e1d211e5f9?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/76e1d211e5f9</guid>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[odoo-development]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoo-17]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sat, 17 Aug 2024 10:56:09 GMT</pubDate>
            <atom:updated>2024-08-17T10:56:09.646Z</atom:updated>
            <content:encoded><![CDATA[<p>In this guide, we’ll cover the steps to configure a custom addons path in Odoo 17. This process will allow you to add and manage custom modules efficiently within your Odoo instance.</p><p><strong>Step 1: Set Up Your Project</strong></p><ol><li><strong>Open PyCharm Community Edition</strong>: Begin by opening PyCharm and creating a new project for your Odoo 17 development.</li><li><strong>Import Your Odoo Instance</strong>: If you already have an Odoo 17 instance, import it into PyCharm. Otherwise, create a new Odoo project.</li></ol><p><strong>Step 2: Create Custom Addons Folder</strong></p><ol><li><strong>Create a Custom Folder</strong>: Within your project directory, create a new folder named custom_addons. This folder will be used to store your custom modules.</li><li><strong>Add Custom Modules</strong>: Inside the custom_addons folder, create a new directory for each custom module you plan to develop or add.</li></ol><p><strong>Step 3: Configure Odoo to Recognize Custom Addons Path</strong></p><ol><li><strong>Copy the Path</strong>: Right-click on the custom_addons folder and select &quot;Copy Path&quot; to save the folder&#39;s location.</li><li><strong>Edit the Odoo Configuration File</strong>: Locate and open the odoo.conf file in your project. Add the path to your custom_addons folder under the addons_path configuration.</li></ol><pre>addons_path = /path/to/your/custom_addons</pre><p>3<strong>. Restart Odoo</strong>: After modifying the configuration file, restart your Odoo 17 service to apply the new settings.</p><p><strong>Step 4: Load and Use Custom Modules</strong></p><ol><li><strong>Update App List</strong>: In your Odoo instance, navigate to the Apps menu, and click on “Update App List” to detect the newly added custom modules.</li><li><strong>Install Custom Modules</strong>: Once the app list is refreshed, you can install and start using your custom modules.</li></ol><p>You have successfully configured a custom addons path in Odoo 17. This setup enables you to organize, develop, and deploy custom modules effectively, streamlining your Odoo development process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76e1d211e5f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set Up Odoo 17 with PyCharm Community Edition for Development & Debugging]]></title>
            <link>https://medium.com/@raidivya/set-up-odoo-17-with-pycharm-community-edition-for-development-debugging-73aa50433b40?source=rss-90231f5f8997------2</link>
            <guid isPermaLink="false">https://medium.com/p/73aa50433b40</guid>
            <category><![CDATA[odoo-17]]></category>
            <category><![CDATA[odoo-customizationservice]]></category>
            <category><![CDATA[odoo-erp]]></category>
            <category><![CDATA[odoo-implementation]]></category>
            <category><![CDATA[odoo-development]]></category>
            <dc:creator><![CDATA[Divya Rai]]></dc:creator>
            <pubDate>Sat, 17 Aug 2024 09:52:17 GMT</pubDate>
            <atom:updated>2024-08-17T09:54:05.440Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we will walk through the steps of configuring Odoo 17 with PyCharm Community Edition for both development and debugging. Before we get started, please ensure you have already downloaded the Odoo 17 source code from the official Odoo GitHub repository. You can do this either by manually downloading the code or by cloning it using Git.</p><p><strong>Prerequisites:</strong></p><ul><li>Odoo 17 source code downloaded or cloned from GitHub.</li><li>PyCharm Community Edition installed on your system.</li></ul><h4>Step 1: Clone Odoo 17 Source Code</h4><ol><li>First, ensure you have cloned or downloaded the Odoo 17 source code. You can do this by visiting the Odoo GitHub repository. Once done, create a new directory named 17.0 on your local machine and place the cloned Odoo source code inside this directory.</li><li>Navigate to the directory where you cloned the Odoo 17 source code. Inside the 17.0 folder, you should see the Odoo source code.</li></ol><h4>Step 2: Open Odoo 17 in PyCharm</h4><ol><li>Launch PyCharm Community Edition. If you haven’t installed it yet, check out the tutorial in the description for guidance on how to download and install PyCharm.</li><li>Once PyCharm is open, go to File &gt; Open, and select the 17.0 directory containing the Odoo 17 source code.</li><li>When prompted, choose to open the directory in the same window or a new one. For simplicity, select “this window.”</li><li>PyCharm will now load the Odoo 17 source code. You might notice some indexing in progress. If you see additional folders, such as enterprise or custom, they are not necessary for this tutorial and can be ignored.</li></ol><h4>Step 3: Configure Odoo Configuration File</h4><ol><li>Within the 17.0 directory, create a new folder called conf.</li><li>Inside the conf folder, add the Odoo configuration file (odoo.conf). To create this file, you can copy the sample configuration file located in the debian folder of the Odoo source code.</li><li>Open your configuration file and make the following modifications:</li></ol><ul><li><strong>Addons Path:</strong> Set the addons path to the Odoo source code’s addons folder.</li><li><strong>Admin Password:</strong> Set an admin password (master password) for Odoo instance control.</li><li><strong>DB Host:</strong> Set it to localhost.</li><li><strong>DB User &amp; Password:</strong> Configure the database user and password.</li><li><strong>HTTP Port:</strong> Specify a port for accessing Odoo, such as 8015.</li></ul><p>Your configuration file might look like this:</p><pre>[options]<br>addons_path = /path/to/your/odoo17/addons<br>admin_passwd = admin123<br>db_host = localhost<br>db_port = 5432<br>db_user = odoo17<br>db_password = odoo<br>http_port = 8015</pre><h4>Step 4: Set Up Python Configuration in PyCharm</h4><ol><li>In PyCharm, go to Run &gt; Edit Configurations.</li><li>Click on the + icon and select Python.</li><li>Provide a name for your configuration (e.g., Odoo 17).</li><li>Set the <strong>Script Path</strong> to the odoo-bin file located inside the Odoo directory (e.g., /path/to/your/odoo17/odoo-bin).</li><li>In the <strong>Parameters</strong> field, add:</li></ol><pre>-c conf/odoo.conf</pre><p>6. Set the <strong>Working Directory</strong> to the 17.0 folder.</p><p>7. Choose the Python interpreter, preferably Python 3.8 or higher.</p><p>8. Click Apply and then OK.</p><h4>Step 5: Running Odoo</h4><ol><li>With everything configured, you can now start Odoo by clicking the run button in PyCharm.</li><li>Odoo should start on the port you specified (e.g., 8015). Open your browser and go to <a href="http://localhost:8015.">http://localhost:8015.</a></li><li>If everything is set up correctly, you will see the Odoo login page. You can create a new database or log in with an existing one. Remember, the master password you set in the configuration file will be required for database operations.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73aa50433b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>