tag:blogger.com,1999:blog-85952570701373171962024-03-27T11:41:16.409-07:00Odoo - LearnOpenERPJoin Learn Openerp to learn about Odoo, QWEB Reporting (OpenERP), Python, Android Application Development, Ionic Framework, PostgreSQL, Deep Learning, Machine Learning, C++, C#, Jasper Reporting using iReport, SQL, Django, Word Press , Blogger, WPF, Object Detection using TesorFlow, Cordove, Node JS, Angular JS, Programming Books, Adsense Tips and other programming languages.Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.comBlogger204125tag:blogger.com,1999:blog-8595257070137317196.post-75785210859442309762023-03-25T05:47:00.010-07:002023-03-26T01:20:54.397-07:00Hire a Professional Logo Designer for Your Business<p> Logo designing is a creative process that involves developing a distinctive graphic symbol, sign, or emblem that serves as a representation of a brand or enterprise. </p><p><span></span></p><a name='more'></a><br /><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNmwGlukwjuG2w9lLV64ol2SBY2D4i7Q6BStu2-inZ7B12nAPLaTpVqLLbpzw2Hpvn41uPLXdGosZhXiWfEUuk6plOUssCfBA2W43VCM417-SJhuSvBdGAJHRrDGLq_wKPE3gCgSEgtOiv2kzdt7pfI_MNxGC6uasFICfDePteCu5j228Vub1GVRXo/s923/Why%20a%20Great%20Logo%20Designer%20Is%20Worth%20the%20Investment(1).PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Why a Great Logo Designer Is Worth the Investment" border="0" data-original-height="505" data-original-width="923" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNmwGlukwjuG2w9lLV64ol2SBY2D4i7Q6BStu2-inZ7B12nAPLaTpVqLLbpzw2Hpvn41uPLXdGosZhXiWfEUuk6plOUssCfBA2W43VCM417-SJhuSvBdGAJHRrDGLq_wKPE3gCgSEgtOiv2kzdt7pfI_MNxGC6uasFICfDePteCu5j228Vub1GVRXo/w640-h350/Why%20a%20Great%20Logo%20Designer%20Is%20Worth%20the%20Investment(1).PNG" title="What to Look for When Hiring a Logo Designer: A Comprehensive Guide" width="640" /></a></div><p>This involves the creation of a visually appealing and easily recognizable image that reflects the values, personality, and identity of the business it represents. A well-designed logo serves as a crucial tool in branding and marketing efforts, helping to establish brand awareness and recall among customers. The logo should be simple, scalable, and able to communicate the desired message effectively. The design process involves careful research, color selection, and attention to detail.</p><p><b>Before creating a logo, it is important to note the following points:</b></p><p></p><ol style="text-align: left;"><li>Understand the brand: It is essential to understand the brand, its values, target audience, and personality before creating a logo.</li><li>Research: Conduct research on competitors, industry trends, and design styles to ensure the logo is unique and memorable.</li><li>Keep it simple: A simple logo is easier to remember and recognize. Avoid complex designs that can confuse the audience.</li><li>Consider color psychology: Colors can evoke emotions and communicate specific meanings. It is essential to select colors that align with the brand and its message.</li><li>Scalability: A logo should be easily scalable, ensuring it looks good on various mediums, from small business cards to large billboards.</li></ol><p><b>Before hiring a logo designer, consider the following points:</b></p><p></p><ol style="text-align: left;"><li>Portfolio: Review the designer's portfolio to ensure they have experience creating logos that align with your brand and its values.</li><li>Communication: A good designer should be able to communicate effectively and understand your vision for the logo.</li><li>Price: It is essential to consider the designer's pricing and ensure it aligns with your budget.</li><li>Turnaround time: Determine the turnaround time for the logo and ensure it aligns with your timeline.</li></ol><p><b>Key features of a logo designer include:</b></p><p></p><ol style="text-align: left;"><li>Creativity: A designer should be able to think outside the box and create unique and memorable logos.</li><li>Attention to detail: A designer should pay close attention to the details, ensuring the logo is visually appealing and aligned with the brand.</li><li>Communication skills: A designer should be able to communicate effectively with the client and understand their vision for the logo.</li><li>Knowledge of design software: A designer should have knowledge of design software such as Adobe Illustrator or Photoshop to create high-quality logos.</li><li>Ability to work under pressure: A designer should be able to work under pressure and meet tight deadlines.</li></ol><p></p><p><b>Below is the exhaustive list of top-level, reputable and talented logo designers who have made a name for themselves in the industry.</b></p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fmrtranscendence%2Fdo-minimalist-logo-design%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D1%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3D32e2b48d-c293-478a-a396-dd0da027e13b" rel="nofollow" target="_blank">Mr Transcendence:</a></b> As a creative thinker and enthusiastic flat graphic designer, I have dedicated the past four years to honing my skills on Fiverr. During this time, I have had the pleasure of crafting over 50,000 brand logos, as well as contributing my talents to notable clients such as EA Sports and Fiverr's internal communications team.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fmountdesign%2Fdesign-3-professional-logo-for-you-in-24-hours%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D2%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3Daa2439f2-6a1e-49d9-9e34-c55146a22ee6" rel="nofollow" target="_blank">Mount Design:</a></b> Our experienced graphic designers provide exceptional design services that bring your vision to life. We have a proven track record of delivering over 40,000 successful projects worldwide with excellent customer service. We'll begin by consulting with you to understand your needs, and then create concepts and revisions until you're completely satisfied with the final design.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fweperfectionist%2Fdesign-an-impressive-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D3%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3D4aeeaa24-c461-43d9-9628-193b2683acac" rel="nofollow" target="_blank">We Perfectionist:</a></b> Our team, Perfectionist, is committed to crafting one-of-a-kind logo designs from scratch. We understand the significance of a logo as the face of your brand and delve into the foundation of your success to create a design that reflects that. Trust us to bring your vision to life with our talent and dedication.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fwebsutra%2Fdraw-an-unique-logo-for-your-enterprise%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D8%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3D50a80ac7-435b-4bee-a161-de8a567e6341" rel="nofollow" target="_blank">WebSutra:</a></b> is a dedicated team that specializes in creating unique logo designs tailored to your branding needs. Our focus is on minimalistic designs and branding projects that provide complete visual identity development for businesses. With over 10 years of experience, we've completed more than 400 projects on Fiverr and received over 200 5-star reviews. Our goal is to create high-quality modern logos and color schemes that clearly reflect your enterprise's presence.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fei8htz%2Fdesign-2-outstanding-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D7%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3Df45012f4-9d07-481b-a700-7b75ef71429f" rel="nofollow" target="_blank">Ei8htz:</a></b> comprises professional designers with extensive experience in crafting exceptional logo designs by hand. Our expertise has assisted thousands of companies worldwide, big and small, in creating eye-catching logos that stand out from the rest. Let us help you create the ideal logo that will elevate your business to the next level. We promise to deliver exceptional service for your project.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fdelightlogoz%2Fdesign-a-modern-and-elegant-minimalist-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D5%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3D7a027f99-22c8-43be-a228-7b277394803e" rel="nofollow" target="_blank">Delightlogoz:</a></b> specialize in crafting modern, elegant, and minimalist business logos. Are you seeking a professional and memorable logo for your business or company? Look no further! Together, we can discuss and select the best design that suits your business needs. Get started today and take your first step towards creating an attractive logo that represents your brand.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fillustriouss%2Fdo-minimalist-logo-design%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D10%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3Db9d17125-a88f-4525-bad7-4950b22c1101" rel="nofollow" target="_blank">Illustriouss:</a></b> A logo design is a crucial element for any brand as it represents the face of the business. As an expert logo designer and branding specialist with over 13,000 satisfied clients worldwide, I can create a distinctive logo that sets you apart from your competitors. I'm confident that you'll be pleased with your new logo, but in the rare instance that you're not, I'll make it right. Take a look at my portfolio in my gig and swipe to the right.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Flistypop%2Fdesign-modern-minimalist-business-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D12%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3D8e030c85-15f9-4bd6-89d6-7baf99386d62" rel="nofollow" target="_blank">Listypop:</a></b> My goal is to create a design that you can take pride in. Let me design a flat/minimalist logo for your brand/website that will elevate your business to the next level. Simple and clean designs can have a significant impact on a logo that contains a lot of detail. Additionally, minimalistic logos are easier for your customers to remember. If you're seeking a professional, clean, and minimalist design with a creative flair, you've come to the right place!</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fmodernmarvel%2Fdesign-2-modern-minimalist-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D11%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3D9248c02f-9364-47d3-b27d-dc8ed7f4a7e3" rel="nofollow" target="_blank">Modernmarvel:</a></b> As brand creators and professional business consultants, we understand that every business has its unique story to tell. A logo is an essential tool for creating a lasting impression and a high recall value. That's why we focus on creating simple yet effective masterpieces that will impress your customers. If you're looking for a modern, memorable, and attractive logo design, your search ends here. Let's discuss your requirements and select the best design for your business.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fsrdjanstojicic%2Fdesign-a-modern-flat-logo%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D13%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3Daf5fc7f7-3718-4463-a6e9-940bb6b20916" rel="nofollow" target="_blank">Srdjanstojicic:</a></b> I'm a skilled and experienced graphic designer who prides myself on being a positive person. I have significant experience in graphic design and branding and have successfully completed over 3000 orders on Fiverr. My goal isn't simply to finish your order and move on. Instead, I strive to ensure that you're completely satisfied with your logo before we wrap up our collaboration.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Flogoflow%2Fdo-professional-and-unique-logo-design%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D4%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3D1276456d-ca3a-47b2-9e04-d082c450bd6a" rel="nofollow" target="_blank">Logoflow:</a></b> Our strength lies in creating flat design concepts. We believe that for a logo to be timeless, it doesn't need to have complex structures or patterns. Instead, it should be simple, memorable, and reflect the essence of your business. By following this philosophy, we have successfully completed over 85,000 projects, received more than 40,000 feedbacks, and are still counting.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fdesign_desk%2Fcreate-3-original-logo-with-vector-source-file%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D15%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26imp_id%3D4b109614-2db6-407e-816c-c5054f5f55a9" rel="nofollow" target="_blank">Design Desk:</a></b> Our team is highly talented and committed to delivering unique designs from scratch. We aim to make your business look credible, professional, and stand out from your competitors. Since 2014, we have been serving over 20,000 happy and satisfied customers with our modern minimalist logo designs, and we look forward to serving you too.</p><p><b><a href="https://go.fiverr.com/visit/?bta=496995&brand=fiverrcpa&landingPage=https%3A%2F%2Fwww.fiverr.com%2Fshailene_george%2Fdesign-professional-business-logo-with-copyrights%3Fcontext_referrer%3Dsubcategory_listing%26ref_ctx_id%3Df7117a14c9527e873aafbec85363c224%26pckg_id%3D1%26pos%3D16%26context_type%3Drating%26funnel%3Df7117a14c9527e873aafbec85363c224%26ref%3Dstyle%253Aflat_minimalist%26seller_online%3Dtrue%26imp_id%3Ddd4b4f98-856a-461c-a71d-cd1871a958c2" rel="nofollow" target="_blank">Shailene George:</a></b> Looking for a modern and professional business logo design? Look no further. Our team specializes in creating simple yet effective designs that enhance your business's appearance and leave a lasting impression. Our exceptional customer support and high-quality designs set us apart from the competition.</p><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-18617741025021352332022-10-10T01:11:00.018-07:002023-06-06T00:27:31.003-07:00Online Odoo Technical Training Course<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"></link>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"></script>
</head>
<p> Learn OpenERP Training Program is the first choice of students and knowledge seekers who want to excel in the field of Enterprise Resource Planning (ERP). Learn OpenERP Training consists of top-level Trainers who are adapted to the field of Computer Programming and ERP Applications. We are the pioneer institute that started comprehensive training for the benefit of students. Since our launch, hundreds of students trained and secured good jobs in the expanding IT Industry. Contact us and secure your seat for upcoming training.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifEqvs-6wvzRKV-A_E2WbQQeG_Q7IwVZizZZP37z5HphPl24Xu3WMBIA__qOrCC0S9_ml6ZvrUSwffiXFDxVNLUQAR04d9Qcj5lWaNHFAeRmmPr0Oe--SniUPWQDTqcAVVTqViVwN0yMQqvOTZt0bcu_yKHTXGqCkvIBT5Df9J_dKZaPP4uvUMJtNx/s1200/Odoo-Technical-Training.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Online Odoo Technical Training Course" border="0" data-original-height="300" data-original-width="1200" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifEqvs-6wvzRKV-A_E2WbQQeG_Q7IwVZizZZP37z5HphPl24Xu3WMBIA__qOrCC0S9_ml6ZvrUSwffiXFDxVNLUQAR04d9Qcj5lWaNHFAeRmmPr0Oe--SniUPWQDTqcAVVTqViVwN0yMQqvOTZt0bcu_yKHTXGqCkvIBT5Df9J_dKZaPP4uvUMJtNx/w640-h160/Odoo-Technical-Training.jpg" title="Online Odoo Technical Training Course" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><h3 style="text-align: left;">Why US?</h3><p></p><ul style="text-align: left;"><li>12 Years of Experience</li><li>Experienced Trainers</li><li>Job Motivations</li><li>Practice-Based Learning</li><li>Career Oriented Learning</li></ul><p></p><h3 style="text-align: left;">We Offer</h3><p></p><ul style="text-align: left;"><li>Enterprise Resource Planning (ERP) Applications Development Training in Odoo</li><li>Programming Languages Training</li><li>Odoo Modules Development</li><li>Odoo Module Customization</li><li>QWEB Reporting Designing and Customization Training</li><li>Jasper Reporting Designing and Customization Training</li><li>API Development</li><li>Framework Training</li></ul><p></p><h3 style="text-align: left;">Why This Course?</h3><p><b>So why is technical training in Odoo vital? and why is it a necessity for professionals operating in it?</b></p><p></p><ul style="text-align: left;"><li>Odoo is vast and you would need confined training on it</li><li>You should operate and function the platform in the states of Odoo</li><li>Error detection and rectification is vital for the platform</li><li>Can be an added advantage to your career growth.</li></ul><p></p><h3 style="text-align: left;">Packages of Odoo Technical Training</h3><p>Our Odoo technical training packages are configured to be useful for the candidates based on their proficiency in the technical aspects of Odoo. So before choosing the package you should ensure that you fall into the right category.</p><h3 style="text-align: left;">Package Odoo Installation</h3><p>The training revolves around provisioning basic information on Odoo for the candidates. In addition, they are taught how to install Odoo and its allocated addons. Best suitable for people new to the platform.</p><p><br /></p>
<div class="container">
<div class="col-lg-12 mb-4">
<div class="card">
<div class="card-header text-center"><h3>Odoo Installation</h3></div>
<div class="card-body">The training revolves around provisioning basic information on Odoo for the candidates. In addition, they are taught how to install Odoo and its allocated addons. Best suitable for people new to the platform.</div>
<div class="card-footer"><b>Duration: </b>2 Day (2 Hours/Day)</div>
<div class="card-footer"><b>Prerequisite: </b>Nothing</div>
<div class="card-footer"><b>Price: </b>40$</div>
<div class="card-footer text-center"><h5>Course Content</h5></div>
<div class="card-body">
<button class="btn btn-primary" data-bs-target="#p1" data-bs-toggle="collapse" type="button">View Course Detail</button>
<div class="collapse" id="p1">
<ul class="list-unstyled tech-feature-list" style="width: 100%;">
<li class="py-1 font-weight-bold">1. Introduction to Odoo</li>
<li class="py-1 font-weight-bold">2. Installing Odoo</li>
<li class="py-1 font-weight-bold">3. Adding custom module to addons list</li>
<li class="py-1 font-weight-bold">4. Installing your custom module</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-12 mb-4">
<div class="card">
<div class="card-header text-center"><h3>Odoo Beginner</h3></div>
<div class="card-body">Best suited for beginners to the platform having prerequisite knowledge on Python and Xml. Moreover, describe how to create custom made modules and configure them to be operational.</div>
<div class="card-footer"><b>Duration: </b>6 Day (2 Hours/Day)</div>
<div class="card-footer"><b>Prerequisite: </b>Python, XML</div>
<div class="card-footer"><b>Price: </b>100$</div>
<div class="card-footer text-center"><h5>Course Content</h5></div>
<div class="card-body">
<button class="btn btn-primary" data-bs-target="#p2" data-bs-toggle="collapse" type="button">View Course Detail</button>
<div class="collapse" id="p2">
<ul class="list-unstyled tech-feature-list">
<li class="py-1 font-weight-bold">1. Introduction to Odoo</li>
<li class="py-1 font-weight-bold">2. Configure Odoo project in PyCharm</li>
<li class="py-1 font-weight-bold">3. Odoo module structure</li>
<li class="py-1 font-weight-bold">4. Creating a module</li>
<ul>
<li class="py-1 pl-3">4.1 Creating a business object(Model)</li>
<li class="py-1 pl-3">4.2 Creating Datafiles</li>
<li class="py-1 pl-3">4.3 Defining Menus and Actions</li>
<li class="py-1 pl-3">4.4 Defining Basic Views(Tree, Form, Search)</li>
<li class="py-1 pl-3">4.5 Relation between models</li>
<li class="py-1 pl-3">4.6 Inheritance</li>
<li class="py-1 pl-3">4.7 Compute, Onchange and Default</li>
<li class="py-1 pl-3">4.8 Model constraints</li>
<li class="py-1 pl-3">4.9 Security</li>
</ul>
<li class="py-1 font-weight-bold">5. Installing Odoo</li>
<li class="py-1 font-weight-bold">6. Adding custom module to addons list</li>
<li class="py-1 font-weight-bold">7. Installing your custom module</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-12 mb-4">
<div class="card">
<div class="card-header text-center"><h3>Odoo Intermediate</h3></div>
<div class="card-body">Design for candidates having certain experience in the operations of the platform. Prerequisite knowledge of Python, Xml, and PostgreSQL is necessary to have a complete understanding of the sessions.</div>
<div class="card-footer"><b>Duration: </b>10 Day (2 Hours/Day)</div>
<div class="card-footer"><b>Prerequisite: </b>Python, XML, PostgreSQL</div>
<div class="card-footer"><b>Price: </b>150$</div>
<div class="card-footer text-center"><h5>Course Content</h5></div>
<div class="card-body">
<button class="btn btn-primary" data-bs-target="#p3" data-bs-toggle="collapse" type="button">View Course Detail</button>
<div class="collapse" id="p3">
<ul class="list-unstyled tech-feature-list">
<li class="py-1 font-weight-bold">1. Introduction to Odoo</li>
<li class="py-1 font-weight-bold">2. Configure Odoo project in PyCharm</li>
<li class="py-1 font-weight-bold">3. Odoo module structure</li>
<li class="py-1 font-weight-bold">4. Creating a module</li>
<ul>
<li class="py-1 pl-3">4.1 Creating a business object(Model)</li>
<li class="py-1 pl-3">4.2 Creating Datafiles</li>
<li class="py-1 pl-3">4.3 Defining Basic Views(Tree, Form, Search)</li>
<li class="py-1 pl-3">4.4 Relation between models</li>
<li class="py-1 pl-3">4.5 Inheritance</li>
<li class="py-1 pl-3">4.6 Compute, Onchange and Default</li>
<li class="py-1 pl-3">4.7 Model constraints</li>
<li class="py-1 pl-3">4.8 Security</li>
</ul>
<li class="py-1 font-weight-bold">5. Installing Odoo</li>
<li class="py-1 font-weight-bold">6. Adding custom module to addons list</li>
<li class="py-1 font-weight-bold">7. Installing your custom module</li>
<li class="py-1 font-weight-bold">8. Advanced Views</li>
<ul>
<li class="py-1 pl-3">8.1 Form</li>
<li class="py-1 pl-3">8.2 Tree</li>
<li class="py-1 pl-3">8.3 Search</li>
<li class="py-1 pl-3">8.4 Calendar</li>
<li class="py-1 pl-3">8.5 Gantt</li>
<li class="py-1 pl-3">8.6 Graph</li>
<li class="py-1 pl-3">8.7 Kanban</li>
<li class="py-1 pl-3">8.8 Activity</li>
<li class="py-1 pl-3">8.9 Cohort</li>
<li class="py-1 pl-3">8.10 Map</li>
<li class="py-1 pl-3">8.11 Pivot</li>
<li class="py-1 pl-3">8.12 Dashboard</li>
</ul>
<li class="py-1 font-weight-bold">9. Wizards</li>
<li class="py-1 font-weight-bold">10. Reports(PDF, Excel)</li>
<li class="py-1 font-weight-bold">11. Translation</li>
<li class="py-1 font-weight-bold">12. Introduction to Localization</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-12 mb-4">
<div class="card">
<div class="card-header text-center"><h3>Odoo Advanced</h3></div>
<div class="card-body">Suitable for people having abundant experience using the platform. In addition, to the contents in the Odoo intermediate package, the candidates will be described on the ORM aspects of Odoo.</div>
<div class="card-footer"><b>Duration: </b>15 Day (2 Hours/Day)</div>
<div class="card-footer"><b>Prerequisite: </b>Python, XML, PostgreSQL</div>
<div class="card-footer"><b>Price: </b>190$</div>
<div class="card-footer text-center"><h5>Course Content</h5></div>
<div class="card-body">
<button class="btn btn-primary" data-bs-target="#p4" data-bs-toggle="collapse" type="button">View Course Detail</button>
<div class="collapse" id="p4">
<ul class="list-unstyled tech-feature-list">
<li class="py-1 font-weight-bold">1. Introduction to Odoo</li>
<li class="py-1 font-weight-bold">2. Configure Odoo project in PyCharm</li>
<li class="py-1 font-weight-bold">3. Odoo module structure</li>
<li class="py-1 font-weight-bold">4. Creating a module</li>
<ul>
<li class="py-1 pl-3">4.1 Creating a business object(Model)</li>
<li class="py-1 pl-3">4.2 Creating Datafiles</li>
<li class="py-1 pl-3">4.3 Defining Basic Views(Tree, Form, Search)</li>
<li class="py-1 pl-3">4.4 Relation between models</li>
<li class="py-1 pl-3">4.5 Inheritance</li>
<li class="py-1 pl-3">4.6 Compute, Onchange and Default</li>
<li class="py-1 pl-3">4.7 Model constraints</li>
<li class="py-1 pl-3">4.8 Security</li>
</ul>
<li class="py-1 font-weight-bold">5. Installing Odoo</li>
<li class="py-1 font-weight-bold">6. Adding custom module to addons list</li>
<li class="py-1 font-weight-bold">7. Installing your custom module</li>
<li class="py-1 font-weight-bold">8. Advanced Views</li>
<ul>
<li class="py-1 pl-3">8.1 Form</li>
<li class="py-1 pl-3">8.2 Tree</li>
<li class="py-1 pl-3">8.3 Search</li>
<li class="py-1 pl-3">8.4 Calendar</li>
<li class="py-1 pl-3">8.5 Gantt</li>
<li class="py-1 pl-3">8.6 Graph</li>
<li class="py-1 pl-3">8.7 Kanban</li>
<li class="py-1 pl-3">8.8 Activity</li>
<li class="py-1 pl-3">8.9 Cohort</li>
<li class="py-1 pl-3">8.10 Map</li>
<li class="py-1 pl-3">8.11 Pivot</li>
<li class="py-1 pl-3">8.12 Dashboard</li>
</ul>
<li class="py-1 font-weight-bold">9. Wizards</li>
<li class="py-1 font-weight-bold">10. Reports(PDF, Excel)</li>
<li class="py-1 font-weight-bold">11. Translation</li>
<li class="py-1 font-weight-bold">12. Introduction to Localization</li>
<li class="py-1 font-weight-bold">13. ORM</li>
<ul>
<li class="py-1 pl-3">13.1 Models</li>
<li class="py-1 pl-3">13.2 Fields</li>
<li class="py-1 pl-3">13.3 Record Set</li>
<li class="py-1 pl-3">13.4 Method Decorators</li>
<li class="py-1 pl-3">13.5 Environment</li>
<li class="py-1 pl-3">13.6 Common ORM Methods</li>
<li class="py-1 pl-3">13.7 Error management</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-12 mb-4">
<div class="card">
<div class="card-header text-center"><h3>Odoo Website Development</h3></div>
<div class="card-body">Candidates should have prerequisite knowledge of Python, Xml, PostgreSQL, HTML and Bootstrap and will be described on the technical aspects of website building in Odoo and its configuration aspects.</div>
<div class="card-footer"><b>Duration: </b>5 Day (2 Hours/Day)</div>
<div class="card-footer"><b>Prerequisite: </b>Python, XML, PostgreSQL, HTML, Bootstrap</div>
<div class="card-footer"><b>Price: </b>180$</div>
<div class="card-footer text-center"><h5>Course Content</h5></div>
<div class="card-body">
<button class="btn btn-primary" data-bs-target="#p5" data-bs-toggle="collapse" type="button">View Course Detail</button>
<div class="collapse" id="p5">
<ul class="list-unstyled tech-feature-list" style="text-align: left;">
<li class="py-1 font-weight-bold">1. Building Website On Odoo</li>
<ul>
<li class="py-1 pl-3">1.1 Qweb Templates</li>
<li class="py-1 pl-3">1.2 URLs and routing</li>
<li class="py-1 pl-3">1.3 Designing</li>
<li class="py-1 pl-3">1.4 Website Theme</li></ul></ul><br /><ul class="list-unstyled tech-feature-list" style="text-align: left;"><ul>
</ul>
</ul>
</div><div class="collapse" id="p1"><h2 style="text-align: center;"><span style="color: #38761d;">How to Enroll</span></h2><div class="collapse" id="p1">Our Odoo Training modules are configured specifically based on the candidate's needs moreover. Follow the steps below to enroll yourself in one of our training sessions:</div><div class="collapse" id="p1"><br /></div><div class="collapse" id="p1"><ul style="text-align: left;"><li>Contact us through mail (<b><span style="color: #0b5394;">softwarebox18@gmail.com</span></b>)</li><li>Make the payment</li><li>Fix your comfortable schedule</li><li>Start and let the learning begin.</li></ul></div></div>
</div>
</div>
</div>
</div>
Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-37931710722892673222022-10-06T23:53:00.004-07:002023-06-06T00:27:45.777-07:00Online Python Training Course For Students<p> Learn OpenERP Training Program is the first choice of students who want to excel in the field of Computer Programming. Learn OpenERP Training consists of top-level Trainers who are adapted to the field of Computer Programming. We are the pioneer institute that started comprehensive training for the benefit of students. Since our launch hundreds of students trained and secured good jobs in the expanding IT Industry. Contact us and secure your seat for upcoming training.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfhs1GZV08vrQE6obelNFKJ8i6m9FxslMsmxPc-x6DkjeEXwOzj0756UxzJaH0_4gnEutq3CYEk9njbPwxNe4WJVunSfDpRShrBuu_prdoxEralVD77aE7_RQsLIwrOpsvntioBdser3jD4M1Maq_l2CpW1MGGwGM0wkm38y1dBeDCEz-uXbn55Eqq/s500/online-python-training-coursejpeg.jpeg" style="margin-left: 1em; margin-right: 1em;"><img alt="Online Python Training Course For Students" border="0" data-original-height="279" data-original-width="500" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfhs1GZV08vrQE6obelNFKJ8i6m9FxslMsmxPc-x6DkjeEXwOzj0756UxzJaH0_4gnEutq3CYEk9njbPwxNe4WJVunSfDpRShrBuu_prdoxEralVD77aE7_RQsLIwrOpsvntioBdser3jD4M1Maq_l2CpW1MGGwGM0wkm38y1dBeDCEz-uXbn55Eqq/w640-h358/online-python-training-coursejpeg.jpeg" title="Online Python Training Course For Students" width="640" /></a></div><br /><h2 style="text-align: left;">Why US?</h2><p></p><ul style="text-align: left;"><li>12 Years of Experience</li><li>Experienced Trainers</li><li>Job Motivations</li><li>Practice-Based Learning</li><li>Career Oriented Learning</li></ul><p></p><h3 style="text-align: left;">We Offer</h3><p></p><ul style="text-align: left;"><li>Programming Languages Training</li><li>Development Training</li><li>API Development</li><li>ERP Development Training</li><li>Framework Training</li></ul><p></p><p><br /></p><h3 style="text-align: left;">Why This Course?</h3><p></p><blockquote><i>Python is easy to use, powerful and versatile, making it a great choice for beginners and experts. Python's readability makes it a great first programming language. It allows you to think like a programmer and not waste time with confusing syntax.</i></blockquote><p></p><blockquote><i>Python is a general-purpose coding language, which means that, unlike HTML, CSS, and JavaScript, it can be used for other types of programming and software development besides web development.</i></blockquote><p></p><h3 style="text-align: center;">Course Goals</h3><p>This course involves students in designing and writing algorithms and designing software that can communicate across a computer program. The aim is to write our programs for real-world applications.</p><h2 style="text-align: center;">Course Content</h2><h3 style="text-align: center;">Problems and Brainstorming | 1st Module</h3><p><b>Software Problems</b></p><p></p><ul style="text-align: left;"><li>What is the Problem?</li><li>What is Software?</li><li>Types of Software</li><li>How to brainstorm regarding problems?</li><li>How to solve problems using professional techniques?</li><li>How do computers solve your problems?</li><li>Class Activities and Question Answers</li></ul><p></p><h3 style="text-align: center;">Design and Algorithm | 2nd Module</h3><h4 style="text-align: left;">Problem Solving Methods</h4><p></p><ul style="text-align: left;"><li>Introduction to problem-solving skills</li><li>Problem-solving method</li><li>Analysis and algorithm design</li><li>Software coding and testing</li><li>Software implementation and maintenance</li><li>Class Activities and Question Answers</li></ul><p></p><h4 style="text-align: left;">Design and Algorithm</h4><p></p><ul style="text-align: left;"><li>Represent the algorithm in paper or computer tool</li><li>Design the software algorithm</li><li>What is IDE?</li><li>How to write instructions on Computer Machine?</li><li>How to design your software?</li><li>Class Activities and Question Answers</li></ul><p></p><h3 style="text-align: center;">Core Python | 3rd Module</h3><div><h4 style="text-align: left;">Python Programming Language</h4></div><p></p><ul style="text-align: left;"><li>Introduction to Computer Programming Language</li><li>Programming Flow Controls</li><li>Introduction to Core Python Language</li><li>Variables</li><li>Data Types</li><li>String</li><li>Numbers</li><li>Operations and Expressions</li><li>Programming Comments</li><li>Sample Programs</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Decision Statements</h4><p></p><ul style="text-align: left;"><li>Why do we use Decision Statements?</li><li>When do we need these types of statements?</li><li>If Statement</li><li>If-Else Statement</li><li>If-Else IF Statement</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Repeat Statements</h4><p></p><ul style="text-align: left;"><li>Why do we use Repetitions Statements?</li><li>When do we need these types of statements?</li><li>Loop Statements</li><li>Types of Loop</li><li>While Loop</li><li>For Loop</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Python List</h4><p></p><ul style="text-align: left;"><li>What is the list in Python?</li><li>Why and where to use these lists?</li><li>Accessing List Items</li><li>Update and Delete Items from the List</li><li>Basic List Operations</li><li>Basic List Functions</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Python Dictionary</h4><p></p><ul style="text-align: left;"><li>What is a dictionary in Python?</li><li>Why and when do we use the dictionary?</li><li>How to access and get values from the dictionary?</li><li>Update and Delete dictionary values</li><li>Basic dictionary operations and functions</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Python Functions</h4><p></p><ul style="text-align: left;"><li>What are Python Functions?</li><li>Difference between built-in and user-defined functions</li><li>Function Declaration and Initialization</li><li>Function Calling</li><li>Reusability in Function</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">String in Python</h4><p></p><ul style="text-align: left;"><li>What are strings in Python?</li><li>How to use and declare strings in Python?</li><li>String Operations</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Object Oriented Programming (OOP) in Python</h4><p></p><ul style="text-align: left;"><li>Introduction to OOP</li><li>What is a class?</li><li>How to create objects and initiate?</li><li>What are class attributes and functions?</li><li>Overriding and Overloading in OOP</li><li>Class Activities and Question Answers</li><li>Assignments / Projects</li></ul><p></p><h4 style="text-align: left;">Introduction to Python WEB and ERP Framework</h4><p></p><ul style="text-align: left;"><li>Flask</li><li>Django</li><li>Odoo</li></ul><div><h2 style="text-align: center;"><span style="color: #38761d;">How to Enroll</span></h2><div>Our Python Training modules are configured specifically based on the candidate's needs moreover. Follow the steps below to enroll yourself in one of our training sessions:</div><div><br /></div><div><ul style="text-align: left;"><li>Contact us through mail (<b><span style="color: #0b5394;">softwarebox18@gmail.com</span></b>) </li><li>Make the payment</li><li>Fix your comfortable schedule</li><li>Start and let the learning begin.</li></ul></div></div><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-49555437332934252942022-09-21T23:29:00.010-07:002022-09-21T23:32:24.844-07:00Configure and Install Odoo14 using PyCharm on Windows Platform<p> In this article you will learn how to configure and install Odoo14 using PyCharm on Windows. I am going to show you step by step guide how to install Odoo 14 development environment using PyCharm IDE (Integrated Development Environment).</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia941B4JSZ3QZeF3VtLzPpwzXnVV5r7WJGyzqe-3AhcX9kRz_9nSrgb-7FFcQFEH5unWMxHqu4YkN8AgCGB-rtVU9aGnFHnsZPrmXjjsq-rUm8o0xe75miekuABPmZARTaXXGPeJAef7EzE5UCX717xQpGeKMwl-ZGkWufgt-Ex0wuEdEMWMJfxCWO/s1280/Configure%20and%20Install%20Odoo14%20using%20PyCharm%20on%20Windows%20Platform.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Configure and Install Odoo14 using PyCharm on Windows Platform" border="0" data-original-height="720" data-original-width="1280" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia941B4JSZ3QZeF3VtLzPpwzXnVV5r7WJGyzqe-3AhcX9kRz_9nSrgb-7FFcQFEH5unWMxHqu4YkN8AgCGB-rtVU9aGnFHnsZPrmXjjsq-rUm8o0xe75miekuABPmZARTaXXGPeJAef7EzE5UCX717xQpGeKMwl-ZGkWufgt-Ex0wuEdEMWMJfxCWO/w640-h360/Configure%20and%20Install%20Odoo14%20using%20PyCharm%20on%20Windows%20Platform.jpg" title="Configure and Install Odoo14 with PyCharm on Windows,How to install Odoo14,Development Environment,Usage: sassc [options] SCSS_FILE [OUT_CSS_FILE]" width="640" /></a></div><br /><h2 style="text-align: left;">Software Needs to be Installed to Setup Odoo14</h2><div><br /></div>
<table class="table table-striped">
<thead>
<tr>
<th>Required Software</th>
<th>Supported Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Python</td>
<td>3.6 or later to run</td>
</tr>
<tr>
<td>PostgreSQL</td>
<td>10.0 or later</td>
</tr>
<tr>
<td>Pycharm</td>
<td>Community or Enterprise</td>
</tr>
</tbody>
</table>
<br />
<div><h3 style="text-align: left;">Install and Configure Odoo14 with PyCharm on Windows </h3><div><b>To configure and install PyCharm with Odoo14 follow the below steps</b></div><div><br /></div><div><ul style="text-align: left;"><li>Download and install Python version 3.6 or later</li><li>Setup Python environment variable</li><li>Download and install PostgreSQL 10 or later</li><li>Setup PostgreSQL environment variable</li><li>Create Login/Group Roles in PostgreSQL (To handle Odoo Database)</li><li>Install wkhtmltopdf (to print report in pdf)</li><li>Download Odoo14 from Github</li><li>Configure PyCharm with Odoo14</li><li>Install python dependencies for odoo14 using requirements.txt file (located in odoo14 root directory)</li></ul></div><div><blockquote><i><span style="color: #0b5394;">Visual C++ build tools need to be install, if it is not you will have some requirement libs that couldn't be install</span></i></blockquote></div></div><div><h3 style="text-align: left;">Setting Up Python and PostgreSQL Environment Variable</h3><div>To set the environment variable press the window key and search "Environment Variable" click on the "Edit the System Environment Variable" option, a dialog box will be open. Now click on the "Environment Variable" button. From the "System Variable" section double click on the "Path" option, a new dialog box will be open.</div><div><br /></div><div>Now click on the "New" button and add the below line one by one.</div><div><ul style="text-align: left;"><li>C:\python38</li><li>C:\python38\Scripts</li><li>C:\Program Files\PostgreSQL\11\bin</li><li>C:\Program Files\wkhtmltopdf\bin</li></ul></div></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1CToyD9yf_8V1RmLf1DfNdp38VHyLXyWaaQZYQLkXAmbXFgEqJheUpuPn4bG_MBvJ4Kmo_VAll7CNNFJy4BPxugWtwb4RpGYKokPoRCJwx_tsfDlPa9-1aM4jwEKZfUseoBSCN0HKtt6fcznTBBQNGO11XEHNeX7uhN6wHuYIakrF6yf1ry5SdFJ6/s744/Setting%20Up%20Python%20and%20PostgreSQL%20Environment%20Variable.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Setting Up Python and PostgreSQL Environment Variable" border="0" data-original-height="594" data-original-width="744" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1CToyD9yf_8V1RmLf1DfNdp38VHyLXyWaaQZYQLkXAmbXFgEqJheUpuPn4bG_MBvJ4Kmo_VAll7CNNFJy4BPxugWtwb4RpGYKokPoRCJwx_tsfDlPa9-1aM4jwEKZfUseoBSCN0HKtt6fcznTBBQNGO11XEHNeX7uhN6wHuYIakrF6yf1ry5SdFJ6/w400-h319/Setting%20Up%20Python%20and%20PostgreSQL%20Environment%20Variable.PNG" title="Setting Up Python and PostgreSQL Environment Variable" width="400" /></a></div><br /><div><br /></div><div><h3 style="text-align: left;">Creating PostgreSQL Database Login User Group Role</h3><div>Before creating user and login roles, I am assuming you have installed PostgreSQL. To create user roles or login roles in PostgreSQL for Odoo14, press the window key and search for "pgadmin". After that Go to Servers >> PostgreSQL 10 and right-click on "Login/Group Roles" and click on "Create >> Login/Group Roles" option.</div></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGYSldEmynxQxrjJep8QU5i4Ixgq42F9RlHOYi6tXQ3XqOLfCN7y98XBwjUQbiKs2Keg3OwZg9R8mximXguAHjTvppRbft3DLsuORXKUREuq30kXA0joWRVOE4Dfm4rr0UjFAwpoaNW-qqfMwDxGWhESqg8TrNw3JTfODOcu5fAO5EoAN8Hxu9iKbI/s479/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Creating PostgreSQL Database Login User Group Role" border="0" data-original-height="479" data-original-width="374" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGYSldEmynxQxrjJep8QU5i4Ixgq42F9RlHOYi6tXQ3XqOLfCN7y98XBwjUQbiKs2Keg3OwZg9R8mximXguAHjTvppRbft3DLsuORXKUREuq30kXA0joWRVOE4Dfm4rr0UjFAwpoaNW-qqfMwDxGWhESqg8TrNw3JTfODOcu5fAO5EoAN8Hxu9iKbI/w250-h320/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL.PNG" title="Creating PostgreSQL Database Login User Group Role" width="250" /></a></div><br /><div>Now in the General section give the name of Login/Group Role, for example, "odoo14"</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ofsodx256iW3K3SKmjPdlU-49aP4W-EvZhC8eIgYfhhUPtVggpIoY4YZM6li9dK7k62-f8yVChkMyECGI2oXMbG12CltgGbUKnKhyGhZztmx9MBS5EpaTztrJ6kc2He7b1f5nlpimJC8snrw81xANnSwWGGWS986agwwAIXAsGsLKGBzcKylK9e1/s700/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%201.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Creating PostgreSQL Database Login User Group Role" border="0" data-original-height="552" data-original-width="700" height="315" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ofsodx256iW3K3SKmjPdlU-49aP4W-EvZhC8eIgYfhhUPtVggpIoY4YZM6li9dK7k62-f8yVChkMyECGI2oXMbG12CltgGbUKnKhyGhZztmx9MBS5EpaTztrJ6kc2He7b1f5nlpimJC8snrw81xANnSwWGGWS986agwwAIXAsGsLKGBzcKylK9e1/w400-h315/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%201.PNG" title="Creating PostgreSQL Database Login User Group Role" width="400" /></a></div><br /><div>In the Definition, section give the password of Login/Group Role</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_PcGyu9tgTbwcVmS2ZYX2_oo0POs7R1E5bnaKcNYzjM0u__Fv5PI3q9vUjNVvAaH666Oj3IWQMx7Xtk8vmk2Los8vxtiwFCzCJrbP9XoqEEU9BZJSK2m07TuZvyvudpOSw1zBd-Xdx81TtVWonebZSwaj7XtsnuhUHL-oG5cDQQauKrTnQV_76m59/s696/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%202.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="In the Definition, section give the password of Login/Group Role" border="0" data-original-height="550" data-original-width="696" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_PcGyu9tgTbwcVmS2ZYX2_oo0POs7R1E5bnaKcNYzjM0u__Fv5PI3q9vUjNVvAaH666Oj3IWQMx7Xtk8vmk2Los8vxtiwFCzCJrbP9XoqEEU9BZJSK2m07TuZvyvudpOSw1zBd-Xdx81TtVWonebZSwaj7XtsnuhUHL-oG5cDQQauKrTnQV_76m59/w400-h316/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%202.PNG" title="In the Definition, section give the password of Login/Group Role" width="400" /></a></div><br /><div><div>In the Privileges section select Yes for following options and Now click on the save button. </div><div><ul style="text-align: left;"><li>Can Login</li><li>Superuser</li><li>Create Roles</li><li>Create Database</li><li>Update Catalog</li><li>Inherit rights from the parent roles</li></ul><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8QfavgUx5n4sUBlGAFfW3QxRoiI4Ju0hIiBalZom47MUAqiyVaFc75bb5CU_68XL3QrrNlZwiTOn9BO5CljSPfEaKQjjG_uIx_uKjNn4PEpgQ9xzl-AujX0G0zkMD-ZK122n8QGx9c0MA2H6gbET7Jcsc7UNNTQfYbUtgNT8M7dJ2jHhmOzlOx7ie/s696/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%203.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="In the Definition, section give the password of Login/Group Role" border="0" data-original-height="547" data-original-width="696" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8QfavgUx5n4sUBlGAFfW3QxRoiI4Ju0hIiBalZom47MUAqiyVaFc75bb5CU_68XL3QrrNlZwiTOn9BO5CljSPfEaKQjjG_uIx_uKjNn4PEpgQ9xzl-AujX0G0zkMD-ZK122n8QGx9c0MA2H6gbET7Jcsc7UNNTQfYbUtgNT8M7dJ2jHhmOzlOx7ie/w400-h314/Odoo14%20-%20Creating%20Login%20User%20Group%20Role%20in%20PostgreSQL%203.PNG" title="In the Definition, section give the password of Login/Group Role" width="400" /></a></div><br /></div><div><h3 style="text-align: left;">Download Odoo14 from Source using GitHub</h3><div>After downloading you have the following files in your downloaded odoo14 path.</div></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwUe8yvZsM9s0WD74XSjp8Ik57zyY4IKQZp6A39R1-owFK6AMb5p0QPficMnJr9dHpiQzYBd2Zg4FVCnErMq5qH3s871NE5wOPNPLohrr77V4GnwSLKP18c7NbaRRUS0macOs4LCzBJ5oS4ovYuzgE2I6vHfyTyuZtp0lljq3WV2yYbVP-pgu8GCsT/s642/Configure%20PyCharm%20with%20Odoo14%20in%20Windows%203.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Download Odoo15 from Source using GitHub" border="0" data-original-height="297" data-original-width="642" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwUe8yvZsM9s0WD74XSjp8Ik57zyY4IKQZp6A39R1-owFK6AMb5p0QPficMnJr9dHpiQzYBd2Zg4FVCnErMq5qH3s871NE5wOPNPLohrr77V4GnwSLKP18c7NbaRRUS0macOs4LCzBJ5oS4ovYuzgE2I6vHfyTyuZtp0lljq3WV2yYbVP-pgu8GCsT/w400-h185/Configure%20PyCharm%20with%20Odoo14%20in%20Windows%203.PNG" title="Download Odoo15 from Source using GitHub" width="400" /></a></div><br /><div><div>If you haven't "odoo.conf" file in your downloaded odoo14 >> debian directory, then create a new file in the odoo14 >> debian directory, and name that file as "odoo.conf" and paste the below code in that file.</div><div><br /></div><div></div><blockquote><div>[options]</div><div>; This is the password that allows database operations:</div><div>; admin_passwd = admin</div><div>db_host = localhost</div><div>db_port = 5432</div><div>db_user = odoo14</div><div>db_password = admin</div><div>db_filter = .*</div><div>addons_path = D:\UET\odoo14\odoo\addons</div><div>log_handler = [':INFO']</div><div>log_level = info</div><div>bin_path = C:\Program Files\wkhtmltopdf\bin</div></blockquote><h3 style="text-align: left;">Setting Up Development Environment for Odoo14 using PyCharm</h3><p></p><ul style="text-align: left;"><li>Open PyCharm and load (open) odoo14 directory</li><li>Now click on the "File" menu and then click "Settings"</li><li>Under Project click on "Project Interpreter" and give Python 3.6 path in Project Interpreter dropdown. </li></ul><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio-nzNyFlOB0yo6AycB9hvmspRK0xXqwqx5CVegtGFmjyeZFrUhFRzOhb0rqtCLyLy4aMiHdum3_DeeD9XGKbZdend3QlU3obvWyNzRkcI1RpSnLeXPIDTCp9itFKbBug2ifzgHirBVkg1HIi4pzN5znnClEaPFjokmq0Z30vx-jOwyzQp2hfcmaTG/s978/Setting%20Up%20Python%20Interpreter.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Setting Up Python Interpreter for Odoo" border="0" data-original-height="708" data-original-width="978" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio-nzNyFlOB0yo6AycB9hvmspRK0xXqwqx5CVegtGFmjyeZFrUhFRzOhb0rqtCLyLy4aMiHdum3_DeeD9XGKbZdend3QlU3obvWyNzRkcI1RpSnLeXPIDTCp9itFKbBug2ifzgHirBVkg1HIi4pzN5znnClEaPFjokmq0Z30vx-jOwyzQp2hfcmaTG/w400-h290/Setting%20Up%20Python%20Interpreter.PNG" title="Setting Up Python Interpreter for Odoo" width="400" /></a></div><br /><p>Now click on the "Run" menu and click "Edit Configurations"</p><p>Click on the green + button and select "Python" to add a new configuration </p><p><br /></p><div></div></div>
<table class="table table-striped">
<thead>
<tr>
<th>Parameter</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Name</td>
<td>odoo14</td>
</tr>
<tr>
<td>Script Path</td>
<td>D:\uet\odoo14\odoo-bin</td>
</tr>
<tr>
<td>Parameters</td>
<td>D:\uet\odoo14\debian\odoo.conf</td>
</tr>
<tr>
<td>Project</td>
<td>odoo14</td>
</tr>
<tr>
<td>Python Interpreter</td>
<td>Python 3.6.0 (C:\python36\python.exe)</td>
</tr>
<tr>
<td>Working Directory</td>
<td>D:\odoo14</td>
</tr>
</tbody>
</table>
<br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2XHNTmmPQTmThkISXAX7w4TvNvG1Fhctp5_N8q9fcchcikofLWRkV0SHsTBBNI63ZN_fIOFFPpQWhusielNEr-jUbUl0L2w_WUPdlSZ8TIsWWM2-Y4pgaDGByd2twKD9-8KBCUcM8L_6sLph2cndoQKKJcgznkCGyAMj-DztbGQaoQSGkoy5Dvr7E/s1278/Configure%20PyCharm%20with%20Odoo14%20in%20Windows%201.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Setting Up Development Environment for Odoo14 using PyCharm" border="0" data-original-height="998" data-original-width="1278" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2XHNTmmPQTmThkISXAX7w4TvNvG1Fhctp5_N8q9fcchcikofLWRkV0SHsTBBNI63ZN_fIOFFPpQWhusielNEr-jUbUl0L2w_WUPdlSZ8TIsWWM2-Y4pgaDGByd2twKD9-8KBCUcM8L_6sLph2cndoQKKJcgznkCGyAMj-DztbGQaoQSGkoy5Dvr7E/w400-h313/Configure%20PyCharm%20with%20Odoo14%20in%20Windows%201.PNG" title="Setting Up Development Environment for Odoo14 using PyCharm" width="400" /></a></div><br /><div><h3 style="text-align: left;">Installing Python Dependencies to run Odoo14 smoothly</h3><div>To run Odoo14 we have to install python dependencies, we are going to install these libraries required for odoo14 using the "requirements.txt" file. You don't need to worry about that it comes with odoo installation source. </div><h3 style="text-align: left;">How to Install Libraries or Packages in Python using Pip</h3><div>You just have to run the below command to install such python dependencies (libraries).</div><div><blockquote><i>py -m pip install -r requirements.txt</i></blockquote></div><div>After executing the above code run "<b>odoo14</b>" by click on the play button in PyCharm.</div><div>If you are facing some error related to the python library then you can manually install these libraries by using the python pip command.</div><div><blockquote><i>py -m pip install library_name_goes_here</i></blockquote></div><div>Now run the service and try it on your browser and check <b>localhost:8069</b></div><div>If all of the configurations were successful, your browser will navigate to the Odoo database manager, from where you can create a new database.</div><div><br /></div><div>After creating a new database, if your Website CSS, SAAS, and Styles are not working and If you got the below error</div><div><br /></div><div>The style compilation failed, see the error below</div><div></div><blockquote><div><i><span style="color: #cc0000;">FutureWarning,</span></i></div><div><i><span style="color: #cc0000;">Usage: sassc [options] SCSS_FILE [OUT_CSS_FILE]</span></i></div></blockquote><div></div><div><br /></div><div>Then run the below command to resolve this error</div><div><blockquote><i>py -m pip install libsass</i></blockquote></div></div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-21151203766895642312022-08-16T00:00:00.006-07:002022-08-17T00:48:52.503-07:00[Solved] Heroku & Github Error: item could not be retrieved unauthorized<p> In this article, I am going to show you how to resolve Heroku and GitHub deployment errors (Heroku Error: item could not be retrieved unauthorized). It takes a lot of R&D to figure out why I have to face this issue/error.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjec4x43RYdWHiMx-K1TX6dQ2QdgsGxD71Q9B4Vpv6vyGPetl_tqWZxaJKZWtW2A8r1VSHntr4S5b3ObFbQ8cEJKYBvfhoJy-uauzth9rkkMfDB78FYOA4xz8Q-mDE_WpI52OdU_-uQJwSuRZGJp5CIBfA7UiJ2PxPUFgg7n55HG5FDuW0mOOmWaX-s/s1666/Heroku%20Error%20item%20could%20not%20be%20retrieved%20unauthorized.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="[Solved] Heroku & Github Error: item could not be retrieved unauthorized" border="0" data-original-height="748" data-original-width="1666" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjec4x43RYdWHiMx-K1TX6dQ2QdgsGxD71Q9B4Vpv6vyGPetl_tqWZxaJKZWtW2A8r1VSHntr4S5b3ObFbQ8cEJKYBvfhoJy-uauzth9rkkMfDB78FYOA4xz8Q-mDE_WpI52OdU_-uQJwSuRZGJp5CIBfA7UiJ2PxPUFgg7n55HG5FDuW0mOOmWaX-s/w640-h288/Heroku%20Error%20item%20could%20not%20be%20retrieved%20unauthorized.PNG" title="heroku item could not be retrieved unauthorized/created/updated/,github integration error with heroku,authorization error with github,internal server error" width="640" /></a></div><br /><h2 style="text-align: left;">Heroku Deployment Error: Item could not be retrieved unauthorized</h2><p>The above error shows in red color in the top right corner of the Heroku window. After getting my head down in this error and after some hit and trial I found the issue with an authorization between the GitHub account and Heroku. And the reason is inactivity in the deployment of the GitHub repository that I have linked with Heroku.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/02/create-dynamic-sitemap-django-multiple-model-slug.html" target="_blank">Create Dynamic Sitemap in Django Using Multiple Models Slug</a></i></blockquote><p></p><h3 style="text-align: left;">How to Resolve Item could not be retrieved unauthorized</h3><p><b>The solution is pretty simple</b></p><p></p><ul style="text-align: left;"><li>Go to the Heroku dashboard and click on the "<b>Deploy</b>" menu</li><li>Just scroll down and search "<b>App connected to GitHub</b>"</li><li>Click on the "<b>Disconnect</b>" button to disconnect the GitHub repository</li></ul><div style="margin-left: 1em; margin-right: 1em; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZb-paqu_rIzWwgJex8dUOLRTdJDlcsTGxJm5oPTqI7zo0ZxQMsn9v0uUhrvc5RQEYIbBLNnFRoNYuBEnZIeeXCFmr1HIUYV1R_PrXnTnt8UwCp1YeYOi60bNpuLMQDFpGcrRM72v2Oiy_SGldkBszVxW6rJ6xXsDbcttbgsplhugAtaTWbml9Vl6S/s1379/Heroku%20Disconnect%20Github%20Repository.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Heroku Disconnect Github Repository" border="0" data-original-height="418" data-original-width="1379" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZb-paqu_rIzWwgJex8dUOLRTdJDlcsTGxJm5oPTqI7zo0ZxQMsn9v0uUhrvc5RQEYIbBLNnFRoNYuBEnZIeeXCFmr1HIUYV1R_PrXnTnt8UwCp1YeYOi60bNpuLMQDFpGcrRM72v2Oiy_SGldkBszVxW6rJ6xXsDbcttbgsplhugAtaTWbml9Vl6S/w400-h121/Heroku%20Disconnect%20Github%20Repository.PNG" title="Heroku Disconnect Github Repository" width="400" /></a></div><br /><ul style="text-align: left;"></ul><ul style="text-align: left;"><li>Reconnect to GitHub by allowing authorization in the connection between GitHub and Heroku</li><li>Just enter your repository name in the search box and click on the "<b>Connect</b>" button</li></ul><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ1ThEtqyx1awTbtamfa5wbrM_U2Fb92_yMovaNEKEUMfJAr4LfjWwN9UYfnLx4r3nOLJV7zunxbSvAutmKD3F1aDwGzV0jfYuK9v7K_P9D8vNoTbPWpjRdxZMehZoO9B0RVwvn0V_5S7CXXCjuybXyX5np_iXrPqaDlc36-99hwFnYfYIpwHpWfy1/s1214/Heroku%20Connect%20to%20Github%20Repository.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Heroku Connect to Github Repository" border="0" data-original-height="362" data-original-width="1214" height="119" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ1ThEtqyx1awTbtamfa5wbrM_U2Fb92_yMovaNEKEUMfJAr4LfjWwN9UYfnLx4r3nOLJV7zunxbSvAutmKD3F1aDwGzV0jfYuK9v7K_P9D8vNoTbPWpjRdxZMehZoO9B0RVwvn0V_5S7CXXCjuybXyX5np_iXrPqaDlc36-99hwFnYfYIpwHpWfy1/w400-h119/Heroku%20Connect%20to%20Github%20Repository.PNG" title="Heroku Connect to Github Repository" width="400" /></a></div><ul style="text-align: left;"><li>Now you should be able to deploy successfully in the Manual deploy or Automatic deploys sections</li></ul><p></p><br />Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-89916680218966682472022-06-30T01:39:00.003-07:002022-06-30T02:50:37.122-07:00Generate QR Code for QWEB Report and Redirect to URL in Odoo<p> This article will teach you how to create and generate QR codes in Odoo using Python for QWEB Custom Reports. After generating the QR code we will redirect to the given URL.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG8IG4d-sUM4gpX4GZvq2PQcHVIsaDqPN5wG9UC1Mo3yPujWixtp5bFvtgaTTTn3PvR1n40WAIIt6L3k52kSp4HaBgPoSXsb0FA3ova0fna6yErki0x3ye7EEEQhhxcFd9vVyPPUohQ61WsGovOYP5j_5rMsn_TXDVoEq54Qn0XrwMyD_-Ihv_c5YP/s1270/Generate%20QR%20Code%20for%20QWEB%20Report%20and%20Redirect%20to%20URL%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Generate QR Code for QWEB Report and Redirect to URL in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG8IG4d-sUM4gpX4GZvq2PQcHVIsaDqPN5wG9UC1Mo3yPujWixtp5bFvtgaTTTn3PvR1n40WAIIt6L3k52kSp4HaBgPoSXsb0FA3ova0fna6yErki0x3ye7EEEQhhxcFd9vVyPPUohQ61WsGovOYP5j_5rMsn_TXDVoEq54Qn0XrwMyD_-Ihv_c5YP/w640-h316/Generate%20QR%20Code%20for%20QWEB%20Report%20and%20Redirect%20to%20URL%20in%20Odoo.png" title="Generate QR Code for QWEB Report and Redirect to URL in Odoo,What is QR code,How to put URL inside QR Code in odoo,Add QR Code,Configure QR Code in Odoo" width="640" /></a></div><br /><h2 style="text-align: left;">What is QR code and why do we need this in reporting</h2><p>It's machine-readable code with a mix of patterns, URLs, and numbers. In Odoo we can use these QR codes in QWEB reporting. This article will provide an insight into how to generate QR codes with URLs, for QWEB reports in the Odoo platform.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2020/08/create-custom-report-in-odoo-using-qweb.html" target="_blank">How to Create Custom Report in QWEB</a></i></blockquote><p></p><p>Odoo supports any string in QR code so you can provide any string or number or URL as a pattern to generate the QR code. In this article, I am going to show you two methods to create QR codes for your QWEB Reports.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="http://learnopenerp.blogspot.com/2018/10/how-to-add-custom-header-and-footer-in-qweb-reports-in-odoo.html" target="_blank">How to Add Custom Header and Footer in QWEB Report in Odoo</a></i></blockquote><p></p><h3 style="text-align: left;">How to Generate QR Code using Python and Odoo (Method 1)</h3><p>To generate QR codes using python we need to install the following python packages.</p><p></p><ol style="text-align: left;"><li>import base64</li><li>import qrcode</li><li>from io import BytesIO</li></ol><p></p><p><b>To install python packages using the below command.</b></p><p></p><blockquote><i>py -m pip install qrcode</i></blockquote><p></p><p>Similarly, just change the name of the package and install your desired python module/library. Now create a function inside any Odoo model, I am going to use 'res.company' model.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="http://learnopenerp.blogspot.com/2018/09/how-to-link-custom-paper-format-in-qweb-reports-in-odoo.html" target="_blank">How to Link Custom Paper Format in QWEB Report in Odoo</a></i></blockquote><p></p>
<script src="https://gist.github.com/sehrishnaz/048833f79e85ea4a3919f24c00988d83.js"></script>
<h3 style="text-align: left;">How to put URL inside QR Code in odoo</h3><div><br /></div><div>To put the URL inside the QR code first we need to create a base URL. For this purpose, I am going to use 'ir.config_parameter'. By using this we can make a base URL to redirect some URLs using QR Code.</div><div><br /></div>
<script src="https://gist.github.com/sehrishnaz/f8a3e6ca753f6d5a8e3fd92e90835280.js"></script>
<br />
<div><div>After creating the URL we will call the above-created function to generate QR Code and pass the base URL to that function. This will return a base64 image string.</div><div><br /></div><div><blockquote>base64_qr = self.env['res.company'].generate_qr(base_url)</blockquote><span style="white-space: pre;"> </span></div><div>Now we will use this base64 image string in our QWEB XML code.</div><div><br /></div><div></div><blockquote><div><div class="col-xs-6 mt6"></div><div><span style="white-space: pre;"> </span><img t-if="qr" t-att-src="'data:image/png;base64,%s' % base64_qr" style="max-height: 100px;"/></div><div></div></div></blockquote><div></div><div><br /></div><div><br /></div><h3 style="text-align: left;">How to Generate QR Code using Python and Odoo (Method 2)</h3><div><br /></div><div>In the second method, there is no need to generate a base64 image string using python logic. You just need to create a base URL and pass that URL into the below XML code.</div><div><br /></div><div><i></i><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="http://learnopenerp.blogspot.com/2017/11/how-to-add-page-number-in-qweb-reports.html" target="_blank">How to Add Page Number in QWEB Report</a></i></blockquote></div><div><br /></div><div></div><blockquote><div><div></div><div><span style="white-space: pre;"> </span><img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('QR', 'redirect_url_goes_here', 200, 200)"/></div><div></div></div></blockquote><div></div></div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-42947319871519895412022-06-29T05:06:00.008-07:002022-06-29T05:11:57.202-07:00Repeat Header and Footer on each page in QWEB Custom Report<p> This article will teach you how to repeat the header and footer on each page of the Odoo QWEB report. For example, if your report has 10 pages then each page has the same header and footer (without repeating the same code again and again).</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfLhDyQ0885sQfLCYUPlAcVP3nAX2kbIkq7sWACYk_wofqEYRo78JKKh-KqVeEDTHj4HjTCg3T-M03QUIBwk7s7_JV1pZrXUVKXLu6VGMVmEVPqvirPqJ0raAP5daiF41sgCzPZqrkBTMxeT1JL0VA_Uc_LIyyXTKodwIIjIwzKjAb7aXZ0-Xm3ubk/s1270/Repeat%20Header%20and%20Footer%20in%20QWEB%20Custom%20Report.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Repeat Header and Footer on each page in QWEB Custom Report" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfLhDyQ0885sQfLCYUPlAcVP3nAX2kbIkq7sWACYk_wofqEYRo78JKKh-KqVeEDTHj4HjTCg3T-M03QUIBwk7s7_JV1pZrXUVKXLu6VGMVmEVPqvirPqJ0raAP5daiF41sgCzPZqrkBTMxeT1JL0VA_Uc_LIyyXTKodwIIjIwzKjAb7aXZ0-Xm3ubk/w640-h316/Repeat%20Header%20and%20Footer%20in%20QWEB%20Custom%20Report.png" title="Repeat Header and Footer on each page in QWEB Custom Report,Add page number in QWEB,Repeat first page header,Custom header & footer,paperformat,hide" width="640" /></a></div><br /><h2 style="text-align: left;">How to repeat header and footer in QWEB custom Odoo Reports</h2><p>To repeat the header and footer on each page of Odoo reports, just follow the below code snippet.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2017/11/how-to-add-page-number-in-qweb-reports.html" target="_blank">How to Add Page Number in QWEB Reports</a></i></blockquote><p></p><p><br /></p>
<script src="https://gist.github.com/sehrishnaz/236543dea150f7d3e2aba84a2a29df40.js"></script><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2020/08/create-custom-report-in-odoo-using-qweb.html" target="_blank">How to Create QWEB Custom Report in Odoo</a></i></blockquote>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-8495279233268202592022-06-27T02:05:00.009-07:002022-06-27T02:08:08.372-07:00Show and Display Sticky Notification in Odoo<p> This article will teach you how to send and display a sticky notification in Odoo15. You will also learn how to create and customize these notifications.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJpJRrOAUAhnY9qCNs-lWRk5O5vPn8rLt9FlRYJ1vlGyZ-vL4wmrxaneLo0zcsBkgZXOoOW9HrQTQqTjfkrpsXk_2_9XIUAImFeLcrMt6jcseAXdrrDV-v8MmYpvYoTPMS-MxG7oUQXrTo62zR6vCt4EIS1_PdVqFJFyXgZpnMFmNHYrsD4ypr35Pr/s1280/Return%20Action%20With%20Sticky%20Notification.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Show and Display Sticky Notification in Odoo" border="0" data-original-height="720" data-original-width="1280" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJpJRrOAUAhnY9qCNs-lWRk5O5vPn8rLt9FlRYJ1vlGyZ-vL4wmrxaneLo0zcsBkgZXOoOW9HrQTQqTjfkrpsXk_2_9XIUAImFeLcrMt6jcseAXdrrDV-v8MmYpvYoTPMS-MxG7oUQXrTo62zR6vCt4EIS1_PdVqFJFyXgZpnMFmNHYrsD4ypr35Pr/w640-h360/Return%20Action%20With%20Sticky%20Notification.jpg" title="Return Action With Sticky Notification,Show and Display Sticky Notification in Odoo15,Sticky Notification with a Link Button" width="640" /></a></div><br /><h2 style="text-align: left;">Send Custom Notification in Odoo</h2><p>In Odoo we can create and send custom sticky notifications on some event or action. For this purpose, Odoo provides different types of notifications.</p><p><b>Following are the notifications that fire on some action.</b></p><p></p><ul style="text-align: left;"><li>Sticky Notification</li><li><a href="https://learnopenerp.blogspot.com/2022/05/how-to-customize-show-rainbow-man-effect-odoo-15.html" target="_blank"><b>Rainbow Man Effect</b></a></li><li>Alert</li><li>Raise Exception/Validation</li></ul><p></p><p>In this article, I am going to show you how to send a sticky notification on a button-click event.</p><h3 style="text-align: left;">Display Only Sticky Notification in Odoo15</h3>
<br />
<script src="https://gist.github.com/sehrishnaz/a763a0058412a966bc072fb4ee8b27bd.js"></script><h3 style="text-align: left;">
Display Sticky Notification with a Link Button in Odoo15</h3>
<br />
<script src="https://gist.github.com/sehrishnaz/a0ea803b7abc935c2af9a18af81018a9.js"></script><h3 style="text-align: left;">
Return Action With Sticky Notification in Odoo15</h3>
<br />
<script src="https://gist.github.com/sehrishnaz/49907c3138b386160ba991254d19c268.js"></script>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-70188937236995612952022-06-23T01:21:00.008-07:002022-06-30T02:53:09.083-07:00Conditionally Fold Kanban States (Selection Field) in Odoo8<p> In this article, you will learn how to fold/unfold (selection field) states (not many2one field), in kanban view in Odoo8. The Kanban view is the most attractive and flexible in Odoo. By using this view we can split items into distinct groups (in the form of a row of columns).</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgteg8BECQTWlhTxQss_DAcgHOUWKH6wHItGe2nf2DRf6CkmS7gBgbaX9WRRjvM87eMoMGjfh6zXZlkxr4G-HK9SCINS-CUUukezIKjN403y66N_GXBNjvepRL8NkU-viXQBbU0b29lX2rF2cxIxdht_E6ka0wFoSzHc6xmMwOvyKtfWM1rCOP9hZg5/s1261/Conditionally%20Fold%20Kanban%20States%20(Selection%20Field)%20in%20Odoo8.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Conditionally Fold Kanban States (Selection Field) in Odoo8" border="0" data-original-height="753" data-original-width="1261" height="382" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgteg8BECQTWlhTxQss_DAcgHOUWKH6wHItGe2nf2DRf6CkmS7gBgbaX9WRRjvM87eMoMGjfh6zXZlkxr4G-HK9SCINS-CUUukezIKjN403y66N_GXBNjvepRL8NkU-viXQBbU0b29lX2rF2cxIxdht_E6ka0wFoSzHc6xmMwOvyKtfWM1rCOP9hZg5/w640-h382/Conditionally%20Fold%20Kanban%20States%20(Selection%20Field)%20in%20Odoo8.png" title="Conditionally Fold Kanban States (Selection Field) in Odoo8,Unfold fields in Kanban View,_group_by_full,_read_group_fill_results,fold kanban stages" width="640" /></a></div><br /><h2 style="text-align: left;">Fold/Unfold fields in Kanban View other than many2one</h2><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/remove-fold-delete-edit-archive-add-new-column-from-task-kanban-view-odoo.html" target="_blank">Remove Fold,Edit Stage,Delete and Archive All From Task Kanban View</a></i></blockquote><p></p><p>Other than many2one fields mean than in this article we are going to fold and unfold states (Selection field, not many2one) based on states.</p><p><br /></p>
<script src="https://gist.github.com/sehrishnaz/142d8ed964fad7c01718e8936513252e.js"></script>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-52401220982653881442022-05-19T23:09:00.002-07:002022-05-19T23:09:14.071-07:00Set Multiple Domain Filter on Many2many Field Onchange of Many2one in Odoo<p> In this article, you will learn how to set or return multiple search filters in the domain on the Many2many field in Odoo. For example, we want to return domain (on Many2many field) based on multiple search filters on onchange of multiple Many2one fields.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCxjyxdyIWMnod2lMmgin5O5VD661YTzAetNecPjQkcMo9ZQAsbimxV4DPg0C9QphtfkOQu7DnMHm_nhEeBmf1rfaWu_q34lPrZTIK682nSzUkQ2rLYjpyCL3Jjb3ho4JBp4sxWEj_wonCzz49MNhsWd83-lIufXwWEI9_LyxQZIHdnwU8EVDw2Tnz/s1270/Set%20Multiple%20Domain%20Filter%20on%20Many2many%20Field%20Onchange%20of%20Many2one%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="How to Return Multiple Search Filters in Domain for Many2many Field" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCxjyxdyIWMnod2lMmgin5O5VD661YTzAetNecPjQkcMo9ZQAsbimxV4DPg0C9QphtfkOQu7DnMHm_nhEeBmf1rfaWu_q34lPrZTIK682nSzUkQ2rLYjpyCL3Jjb3ho4JBp4sxWEj_wonCzz49MNhsWd83-lIufXwWEI9_LyxQZIHdnwU8EVDw2Tnz/w640-h316/Set%20Multiple%20Domain%20Filter%20on%20Many2many%20Field%20Onchange%20of%20Many2one%20in%20Odoo.png" title="Return Multiple Search Filters in Domain for Many2many Field,Set Multiple Domain Filter on Many2many Field Onchange of Many2one in Odoo,Complex Domain Expression" width="640" /></a></div><br /><h2 style="text-align: left;">How to Return Multiple Search Filters in Domain for Many2many Field</h2><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="http://learnopenerp.blogspot.com/2016/10/onchange-many2one-filed-in-odoo.html" target="_blank">Return Domain on Onchange on Many2one Field in Odoo</a></i></b></blockquote><p></p><p>To achieve this we are going to use <b>onchange</b> method of Odoo. And on onchange of multiple Many2one fields, we are going to set more than one search filter for our Many2many field. </p><p></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2021/08/list-of-search-domain-operators-odoo.html" target="_blank"><b>List of Domain Search Operators in Odoo</b></a></i></blockquote><p></p><h3 style="text-align: left;">return_multiple_search_filters_on_many2many_domain_odoo.py</h3>
<script src="https://gist.github.com/sehrishnaz/5d55179a69c86d5a56d5f8fc53cbb14a.js"></script>
In the above code first, we have created an empty python dictionary (<b>res</b>) and set the key of the dictionary as "<b>domain</b>" and assign value to that key <b>(res['domain']</b>) as the dictionary of the Many2many field and initialize it as an empty <b><a href="http://learnopenerp.blogspot.com/2016/03/welcome-to-python-3-programming.html" target="_blank">Python List</a></b>. <div><br /></div><div><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2018/12/add-domain-on-many2many-field-in-odoo.html" target="_blank">Set Domain on Many2many Field in Odoo</a></i></b></blockquote><br /><div>After that, we appended the multiple search filters in the form of a tuple and assigned that tuple to our "<b>res</b>" dictionary named (<b>res['domain']</b>). In the end, we have to return this dictionary to filter records in the Many2many field.</div></div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-5933972370702051222022-05-19T05:27:00.003-07:002022-05-19T23:45:45.381-07:00Color Field and Color Picker (color_picker) Widgets in Odoo<p> In this article, you will learn how to add the color field in Odoo. To add color fields in Odoo we are going to use built-in beautiful widgets provided by Odoo. It's a new feature in Odoo 15.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiroRTC1JNWFyh6GFKivF_E_Sau_8YFsVGoeuvKgdqDszltlel2oUUw0LvU0z9xXYmBlk4Q2-qocU1NGozF2lW_MySZ9pCa6j92PCXTO0KWU8eKcQOgwofbpD-NQZ_S4-v5BA3OVL6Cs2DhYxq0WJBxM4c1DfiQY0VP8dwVW6dIqU29hkYAVxXSmE6/s1270/Color%20Field%20and%20Color%20Picker%20(color_picker)%20Widgets%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Color Field and Color Picker (color_picker) Widgets in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiroRTC1JNWFyh6GFKivF_E_Sau_8YFsVGoeuvKgdqDszltlel2oUUw0LvU0z9xXYmBlk4Q2-qocU1NGozF2lW_MySZ9pCa6j92PCXTO0KWU8eKcQOgwofbpD-NQZ_S4-v5BA3OVL6Cs2DhYxq0WJBxM4c1DfiQY0VP8dwVW6dIqU29hkYAVxXSmE6/w640-h316/Color%20Field%20and%20Color%20Picker%20(color_picker)%20Widgets%20in%20Odoo.png" title="Color Field and Color Picker (color_picker) Widgets in Odoo,How to use color_picker widget in Odoo15,Add color field,Color widget in Odoo,ERP,widget="color_picker"" width="640" /></a></div><br /><h2 style="text-align: left;">How to Use and Create Color Fields in Odoo</h2><p>To add color fields in Odoo there are two options, in this tutorial, I will show you how to add color fields by using <b><a href="http://learnopenerp.blogspot.com/2016/09/how-to-create-models-in-odoo.html" target="_blank">Integer and Char</a></b> fields along with color widgets.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2022/05/how-to-use-phone-email-and-url-widget-in-odoo-15.html" target="_blank">How to Use Email, Phone and URL Widget in Odoo</a></i></b></blockquote><p></p><h3 style="text-align: left;">How to Add Color Field using Integer Field and widget="color_picker"</h3><p><b>integer_color_widget.py</b></p><p></p><blockquote>color = fields.Integer('Color')</blockquote><p></p><h3 style="text-align: left;">How to Set Default Color in Color Field in Odoo</h3><p>You can also set the default value to a color field like below.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2022/05/how-to-customize-show-rainbow-man-effect-odoo-15.html" target="_blank">How to Show Rainbow Man Effect in Odoo</a></i></b></blockquote><p></p><p></p><blockquote><p>def _default_color(self):</p><p><span style="white-space: pre;"> </span>return randint(1, 11)</p><p>color = fields.<b>Integer</b>('Color')</p></blockquote><p></p><p><span style="color: #0b5394;"><b>Don't forgot to import below library.</b></span></p><p></p><blockquote>from random import randint</blockquote><p></p><p><b>integer_color_widget.xml</b></p><p></p><blockquote><field name="color" <b>widget="color_picker"</b>/></blockquote><p></p><h3 style="text-align: left;">How to Add Color Field using Char Field and widget="color"</h3><p><b>char_color_widget.py</b></p><p></p><blockquote>color = fields.<b>Char</b>('Color')</blockquote><p></p><p><b>char_color_widget.xml</b></p><p></p><blockquote><field name="color" <b>widget="color"</b>/></blockquote><p></p><p style="text-align: justify;">In the above code we have used Integer Field with widget="color_picker" and Char field with widget="color", if you will use Integer Field with widget="color" and Char field with widget="color_picker" then it will not work properly.</p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-15474551140683505742022-05-18T23:07:00.002-07:002022-05-19T23:49:42.128-07:00WhatsApp Integration with Odoo (Python)<p> In this article, you will learn how to connect and integrate WhatsApp with Odoo. To do this integration we are going to use WhatsApp web API. After connecting WhatsApp with Odoo you can send messages to your WhatsApp contact list from Odoo.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_ifdF50JcURRLKD-yZMsv0RhJYyoWDWiTOa-UuoynJYYw7sq4BsqSULMOliVpOFfaE7Xtoq7Ehgr-j5PrvKuHaN-WXxLAsDHtPg-zny_0Dm17ScAw5q2k_OfLSq1aZ9cP1AbgtA2aOkPUYzNM4JplSDEEQgjGqaRZN_j_ARnic28jgF1wY8DcJOMe/s1270/Whatsapp%20Integration%20with%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="WhatsApp Integration with Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_ifdF50JcURRLKD-yZMsv0RhJYyoWDWiTOa-UuoynJYYw7sq4BsqSULMOliVpOFfaE7Xtoq7Ehgr-j5PrvKuHaN-WXxLAsDHtPg-zny_0Dm17ScAw5q2k_OfLSq1aZ9cP1AbgtA2aOkPUYzNM4JplSDEEQgjGqaRZN_j_ARnic28jgF1wY8DcJOMe/w640-h316/Whatsapp%20Integration%20with%20Odoo.png" title="Whatsapp Integration with Odoo 15,Whatsapp Connector,Redirect to whatsapp from Odoo,Integrate odoo and whatsapp,How to connect odoo and whatsapp,API,ERP" width="640" /></a></div><br /><h2 style="text-align: left;">How to Connect WhatsApp with Odoo</h2><p>To create a Whatsapp connector in Odoo you just need to create a button in your XML file and a method or WhatsApp integration function in Python code. Below is the complete guideline to configure WhatsApp with Odoo.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2019/10/connecting-to-odoo-using-xml-rpc.html" target="_blank">Connecting Odoo to Third Party Apps using XML RPC</a></i></b></blockquote><p></p><h3 style="text-align: left;">Whatsapp Integration with Odoo (XML)</h3><p></p><blockquote><button name="btn_whatsapp" string="Whatsapp" type="object" icon="fa-whatsapp"/></blockquote><p></p><h3 style="text-align: left;">Whatsapp Integration with Odoo (Python)</h3><p></p><blockquote><p>def btn_whatsapp(self):</p><p><span style="white-space: pre;"> </span>message = 'Hello'</p><p><span style="white-space: pre;"> </span>wa_api_url = 'https://api.whatsapp.com/send?phone=%s&text=%s' % (self.phone,message)</p><p><span style="white-space: pre;"> </span>return {</p><p><span style="white-space: pre;"> </span>'type': 'ir.actions.act_url',</p><p><span style="white-space: pre;"> </span>'target': 'new',</p><p><span style="white-space: pre;"> </span>'url':wa_api_url</p><p><span style="white-space: pre;"> </span>}</p></blockquote><p></p><p>In the message variable, you can get the message from an Odoo text or HTML field, similarly, you can get a phone number from the text field dynamically. In general, you can create a wizard with a phone number and text message field and on the button click call that function to send messages from Odoo.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2021/11/install-python-package-automatically-installation-odoo-module.html" target="_blank">Install Python Packages Automatically on Installation of Odoo Modules</a></i></b></blockquote><p></p><p>If you are facing some issue with this WhatsApp API URL.</p><p></p><blockquote>https://<span style="color: #cc0000;"><b>api</b></span>.whatsapp.com/send?phone=%s&text=%s' % (self.phone,message)</blockquote><p></p><p>Then replace the above Whatsapp API URL with the below one.</p><p></p><blockquote>https://<b><span style="color: #6aa84f;">web</span></b>.whatsapp.com/send?phone=%s&text=%s' % (self.phone,message)</blockquote><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-81663216548974521822022-05-18T00:35:00.005-07:002022-05-19T23:54:37.615-07:00Enable Tracking (track_visibility) for Fields in Odoo<p> In this article, you will learn how to add or enable field tracking in custom form views in Odoo15. To enable tracking of fields in Odoo we have to inherit some models and dependencies.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLSyyTqM5BG38rEiRijJhRwaUPFvThlJG-9yhHfbqAoekgcZc7JLLluWg3lk16PddwFMtqW8XghnqUGF0oB1ND2HtOasbQyJehb9godgK5Wj3aGkwhp0Wa2SjpXyfDB4I3QFRU0-YeEjSv-5R4uvdcZSXoP0ximD47fHkS2mc-UmlDOS8PT8W2n4n8/s1270/Enable%20Tracking%20(track_visibility)%20for%20Fields%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Enable Tracking (track_visibility) for Fields in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLSyyTqM5BG38rEiRijJhRwaUPFvThlJG-9yhHfbqAoekgcZc7JLLluWg3lk16PddwFMtqW8XghnqUGF0oB1ND2HtOasbQyJehb9godgK5Wj3aGkwhp0Wa2SjpXyfDB4I3QFRU0-YeEjSv-5R4uvdcZSXoP0ximD47fHkS2mc-UmlDOS8PT8W2n4n8/w640-h316/Enable%20Tracking%20(track_visibility)%20for%20Fields%20in%20Odoo.png" title="Enable Tracking for Fields in Odoo,Change order of tracking values,How to add field tracking attribute in Odoo15,track_visibility vs tracking=True,form view" width="640" /></a></div><br /><h2 style="text-align: left;">Why do we need to enable field tracking in Odoo</h2><p>Fields tracking or <b>track_visibility </b>is used to record every action or update of the particular field. For example, when a field value changed, its log will be recorded with from and to values.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2022/05/connect-and-integrate-whatsapp-odoo-15.html" target="_blank">WhatsApp Integration with Odoo (Python)</a></i></b></blockquote><p></p><h3 style="text-align: left;">How to Enable Field Tracking or track_visibility in Odoo</h3><p>To enable tracking of fields you have to inherit the following models in your custom class or model.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2018/01/inheritance-in-models-and-views.html" target="_blank">Inheritance in Models and Views in Odoo</a></i></b></blockquote><p></p><p></p><blockquote><p>class gym_body_parts_config(models.Model):</p><p> _name = 'gym.body.parts.config'</p><p> <b>_inherit = ['mail.thread', 'mail.activity.mixin']</b></p></blockquote><p></p><p>After inheriting the above models in your class, now just add this (tracking=True) attribute to the fields in which you want to track the record.<span style="white-space: pre;"> </span></p><p></p><blockquote>name = fields.Char(string="Name", required=True, <b>tracking=True</b>)</blockquote><p></p><p>Now that we have implemented the tracking code in our model, now it's time to add some fields to views. Just add the below code in your XML after sheet tag.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="http://learnopenerp.blogspot.com/2016/09/how-to-create-form-and-tree-view-in-odoo.html" target="_blank">How to Create Views (Form, Tree and Search) in Odoo</a></i></b></blockquote><p></p><p></p><blockquote><p><sheet></p><p><span style="white-space: pre;"> </span><!--your form view fields goes here--></p><p></sheet></p><p><b><div class="oe_chatter"></b></p><p><b><span style="white-space: pre;"> </span><field name="message_follower_ids" groups="base.group_user"/></b></p><p><b><span style="white-space: pre;"> </span><field name="activity_ids"/></b></p><p><b><span style="white-space: pre;"> </span><field name="message_ids"/></b></p><p><b></div></b></p></blockquote><p></p><p><br /></p><p><span style="color: #cc0000;">TypeError: Model 'your.model.name' inherits from non-existing model 'mail.thread'</span></p><p>If you are facing the above error then don't forget to add the "<b>mail</b>" module in the dependency (in the __manifest__.py file).</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="http://learnopenerp.blogspot.com/2016/03/odoo-module-structure-terminology.html" target="_blank">Why we do use __manifest__.py file</a></i></b></blockquote><p></p><p></p><blockquote><p># any module necessary for this one to work correctly</p><p>'depends': ['base','mail'],</p></blockquote><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com2tag:blogger.com,1999:blog-8595257070137317196.post-91884215083003930972022-05-17T22:06:00.006-07:002022-05-20T00:14:13.609-07:00Decorate Fields in Odoo (Bold, Italic Text and Color) in Tree View Column<p> In this article, you will learn how to bold font, italic a text, and give colors to an Odoo field based on conditions in Tree View Column. To decorate a field in Odoo15 is now not a big deal.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXUNuIhkJ2qaB6cdPWrzsHoQ8aC4Ay71CBCSA5bY0KnJMWp9LXrEYPltsxEMxpuaWwg4Z4goi-5Hv9z_kdfekSby7oZwtgR58DgAshFPN8bAmpDnVoQtxXDAkYmJSzsTbdnsb8dIozl8kGSoBq_8ekujSK13ahKtzy_ZP4U7wPmPNzZtqGHTl3Evor/s1270/Decorate%20Fields%20in%20Odoo%20(Bold,%20Italic%20Text%20&%20Color)%20in%20Tree%20View%20Column.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Decorate Fields in Odoo (Bold, Italic Text & Color) in Tree View Column" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXUNuIhkJ2qaB6cdPWrzsHoQ8aC4Ay71CBCSA5bY0KnJMWp9LXrEYPltsxEMxpuaWwg4Z4goi-5Hv9z_kdfekSby7oZwtgR58DgAshFPN8bAmpDnVoQtxXDAkYmJSzsTbdnsb8dIozl8kGSoBq_8ekujSK13ahKtzy_ZP4U7wPmPNzZtqGHTl3Evor/w640-h316/Decorate%20Fields%20in%20Odoo%20(Bold,%20Italic%20Text%20&%20Color)%20in%20Tree%20View%20Column.png" title="Bold Text in Odoo Tree View Column,Italic Text in Odoo15 Tree View,Decorate Colors in Tree View Fields,decoration-success,danger,warning,info,muted,bf,it" width="640" /></a></div><br /><h2 style="text-align: left;">How to Bold Text in Odoo Tree View Column</h2><p>To bold text in the tree view in Odoo, we are going to use decoration-bf="1". We will use this decorator in tree view fields like below.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2016/04/how-to-align-left-odoo-fields-float.html" target="_blank">How to Align Left [float, integer] Fields in Tree View in Odoo</a></i></b></blockquote><p></p><p></p><blockquote><field name="email" <b>decoration-bf="1"</b>/></blockquote><p></p><h3 style="text-align: left;">How to Italic a Text Odoo Tree View Column</h3><p>Odoo provides a beautiful decorator to make the text italic, we just need to put this decorator decoration-it="1" in tree view fields.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="Color Field and Color Picker (color_picker) Widgets in Odoo" target="_blank">Color Field and Color Picker (color_picker) Widgets in Odoo</a></i></b></blockquote><p></p><p></p><blockquote><field name="email" <b>decoration-it="1"</b>/></blockquote><p></p><h3 style="text-align: left;">How to Color Fields or Specific Column of a Tree View in Odoo</h3><p>You can use the below decorators to give color to a column or specific value of Odoo fields. </p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2022/05/use-and-add-progressbar-percentpie-gauge-widget-in-odoo.html" target="_blank">How to Use ProgressBar, Gauge and Percentpie Widgets In Odoo</a></i></b></blockquote><p></p><p></p><ul style="text-align: left;"><li>decoration-success</li><li>decoration-primary</li><li>decoration-danger</li><li>decoration-warning</li><li>decoration-info</li><li>decoration-muted</li></ul><p></p>
<br />
<table class="table table-striped">
<thead>
<tr>
<th>Decoration</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>decoration-bf</td>
<td>Shows the line or specific field in <b>BOLD</b></td>
</tr>
<tr>
<td>decoration-it</td>
<td>Shows the line or specific field in <i>ITALICS</i></td>
</tr>
<tr>
<td>decoration-danger</td>
<td>Shows the line in <span style="color: #e06666;">LIGHT RED</span></td>
</tr>
<tr>
<td>decoration-info</td>
<td>Shows the line in <span style="color: #3d85c6;">LIGHT BLUE</span></td>
</tr>
<tr>
<td>decoration-muted</td>
<td>Shows the line in <span style="color: #999999;">LIGHT GRAY</span></td>
</tr>
<tr>
<td>decoration-primary</td>
<td>Shows the line in <span style="color: #674ea7;">LIGHT PURPLE</span></td>
</tr>
<tr>
<td>decoration-success</td>
<td>Shows the line in <span style="color: #6aa84f;">LIGHT GREEN</span></td>
</tr>
<tr>
<td>decoration-warning</td>
<td>Shows the line in <span style="color: #783f04;">LIGHT BROWN</span></td>
</tr>
</tbody>
</table>
<br />
<p>Below is the example of decorators in Odoo, you can use operators like (==, !=, in, not in, and, or, &lt;, &gt;) in decorators to make it conditional.</p><p><b><i></i></b></p><blockquote><b><i><span style="color: #38761d;">Read More:</span> <a href="https://learnopenerp.blogspot.com/2022/05/use-handle-widget-to-reorder-records-in-tree-view-odoo15.html" target="_blank">Use Handle Widget in Odoo to Reorder Records in Tree View</a></i></b></blockquote><p></p><p></p><blockquote><p><field name="state" </p><p>decoration-warning="state == 'progress'" </p><p>decoration-success="state == 'done'" </p><p>decoration-info="state not in ('progress', 'done', 'cancel')"/></p></blockquote><p></p><p><br /></p><p>Similarly, you can use "<b>decoration-danger</b>" and "<b>decoration-muted</b>" decorators to give colors to a specific field in Odoo Tree View Column. You can also use "<b>or</b>" and "<b>and</b>" operators in decorators.</p><p></p><blockquote><field name="state" decoration-warning="state == 'cancel' or state == 'terminate'"/></blockquote><p></p><p>You can also use less than operator to show colors in the tree view column conditionally.</p><p></p><blockquote><tree string="Events" decoration-danger="(seats_max and seats_max&lt;seats_reserved)"></blockquote><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-501571925437152792022-05-15T23:36:00.002-07:002022-06-30T02:56:58.949-07:00How to Show and Customize Rainbow Man Effect in Odoo<p> In this article you will learn how to add and show <b>rainbow_man </b>effect in odoo form. You will also learn how to customize these rainbow man effect according to your need.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN7JJoI7eW9OpQdt62h50OtXPRk3kDTjHBfNjaA3hq9d6imJOV3tvYxJomFQsTq09inISUtBMmTR2czynwHptvfEn6ELtb0hlZwiq4PpOpNElWueEMqeveAHM8goHSGBwOY35sodvpn6VP5zpo4fNiLLm_jziCA31ymM8H2HwpckdR56RfA6IIrgtq/s1270/How%20to%20Show%20and%20Customize%20Rainbow%20Man%20Effect%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="How to Show and Customize Rainbow Man Effect in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN7JJoI7eW9OpQdt62h50OtXPRk3kDTjHBfNjaA3hq9d6imJOV3tvYxJomFQsTq09inISUtBMmTR2czynwHptvfEn6ELtb0hlZwiq4PpOpNElWueEMqeveAHM8goHSGBwOY35sodvpn6VP5zpo4fNiLLm_jziCA31ymM8H2HwpckdR56RfA6IIrgtq/w640-h316/How%20to%20Show%20and%20Customize%20Rainbow%20Man%20Effect%20in%20Odoo.png" title="How to Show and Customize Rainbow Man Effect in Odoo 15,Customising rainbow_man effect,Show custom message in rainbow_man effect,Show effects on button click" width="640" /></a></div><br /><h2 style="text-align: left;">How to Add Rainbow Man Effect in Odoo15</h2><p style="text-align: justify;">On the perfect completion of some task and activity we can add or show <b>rainbow_man</b> effect in form view. In this tip we are going to show the <b>rainbow_man </b>effect on button click event. You can show this effect on the completion of your workflows (Task States or Stages). </p><p style="text-align: justify;"><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/06/return-action-display-sticky-notification-odoo-15.html" target="_blank">Show and Display Sticky Notification in Odoo</a></i></blockquote><p></p><p style="text-align: justify;">To implement this <b>rainbow_man </b>effect on our custom form views, we have to return the effect on button click event. </p><p style="text-align: justify;"><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="http://learnopenerp.blogspot.com/2016/09/how-to-create-form-and-tree-view-in-odoo.html" target="_blank">How to Create Custom Views (Form, Tree or List)</a></i></blockquote><p></p><h3 style="text-align: left;">Why do we show rainbow_man effect</h3><p></p><ul style="text-align: left;"><li>To give reward after perfectly finishes some activity</li><li>Way to make fun in a software</li></ul><p></p><p><b>Below is the complete code snippet to show rainbow man effect in Odoo.</b></p><h3 style="text-align: left;">rainbow_man_effect_in_odoo.xml</h3><p></p><blockquote><button name="btn_done" string="Done" type="object"/></blockquote><p></p><h3 style="text-align: left;">rainbow_man_effect_in_odoo.py</h3><p></p><blockquote><p>def btn_done(self):</p><p><span style="white-space: pre;"> </span>return {</p><p><span style="white-space: pre;"> </span>'effect': {</p><p><span style="white-space: pre;"> </span>'fadeout': 'slow',</p><p><span style="white-space: pre;"> </span>'message': 'Everything is correctly Done...',</p><p><span style="white-space: pre;"> </span>'type': 'rainbow_man',</p><p><span style="white-space: pre;"> </span>}</p><p></p><p><span style="white-space: pre;"> </span>}</p></blockquote><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-33212013471100667302022-05-12T22:53:00.004-07:002022-06-30T03:01:54.367-07:00How to use Phone, Email, and Website (URL) Widget in Odoo<p> In this article, you will learn how to add and use email, phone, and URL widgets in Odoo15. We are going to use the built-in widget feature of Odoo in XML code.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNS2whHuB5HRcDTZZhcGkE1W6BC9GZU_hgZQvgFpmq2zI8mYm6QLLvqKDE00JpxrDvX8DKvE8WD9zgexD1zBEZWdTEkBcCU6Tp5z1YHewR3XEHWBdW_LWMisYCJUKNKihJwvPEX95xpE3DXeHlcKd2PyaOrTufE5M8Sg5I34wvaPQsM1BbliQ__Vaa/s1270/How%20to%20use%20Phone,%20Email,%20and%20Website%20(URL)%20Widget%20in%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="How to use Phone, Email, and Website (URL) Widget in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNS2whHuB5HRcDTZZhcGkE1W6BC9GZU_hgZQvgFpmq2zI8mYm6QLLvqKDE00JpxrDvX8DKvE8WD9zgexD1zBEZWdTEkBcCU6Tp5z1YHewR3XEHWBdW_LWMisYCJUKNKihJwvPEX95xpE3DXeHlcKd2PyaOrTufE5M8Sg5I34wvaPQsM1BbliQ__Vaa/w640-h316/How%20to%20use%20Phone,%20Email,%20and%20Website%20(URL)%20Widget%20in%20Odoo.png" title="Phone widget,Email widget,URL and Website Widget in Odoo,Send SMS Widget Option,enable_sms,website_path,Odoo Cool Widgets,Social Media Marketing Widgets" width="640" /></a></div><br /><h2 style="text-align: left;">Why do we use the Phone, Email, and URL widget?</h2><p>To make the phone, email, and website fields more precise we have to use these widgets. If we don't use these (phone, email, and URL) widgets then our field looks like a simple character field. To make it more clear we are going to use the below widgets in our XML.</p><p><i></i></p><blockquote><i><b>Read More:</b> <a href="https://learnopenerp.blogspot.com/2022/05/add-color-field-using-color-picker-widget-odoo-15.html" target="_blank">Color Field and Color Picker (color_picker) Widgets in Odoo</a></i></blockquote><p></p><p></p><ol style="text-align: left;"><li>widget="phone"</li><li>widget="email"</li><li>widget="url"</li></ol><p></p><p>You can also add options to the fields along with the above widgets.</p><p></p><blockquote><p><field name="phone" widget="phone" <b>options="{'enable_sms': false}"</b>/></p><p><field name="email" widget="email"/></p><p><field name="website" widget="url" <b>options="{'website_path': false}"</b>/></p></blockquote><p></p><p><br /></p><p>If you want to add an SMS option with the phone widget then you have to set or enable True the "<b>enable_sms</b>" option. </p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/decorate-text-bold-italic-colors-field-in-tree-view-column-odoo-15.html" target="_blank">Decorate Fields in Odoo (Bold, Italic Text and Color) in Tree View Column</a></i></blockquote><p></p><p></p><blockquote><field name="phone" widget="phone" <b>options="{'enable_sms': True}"</b>/></blockquote><p></p><p>This will add the SMS icon with the phone field and you will be able to send SMS with a wizard-like below.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/connect-and-integrate-whatsapp-odoo-15.html" target="_blank">How to Connect and Integrate WhatsApp With Odoo</a></i></blockquote><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZumteo4ZVa44u2SLl2Eyq4X5BL5lEpPzzzks-5C8ZFw0qZrjVffO6IpCQ3-WhsFIfVR3UUb4AcmdOMi0HmIFaVVrU_nvY1Py6zzHvwpcDgbPuU6u2sX4Dy_XGOLAnvjARfhMZ0h7RJHPc9dwpIRJplCVwAOb9ISIgv1KmDOWUcD76lplbmUrJuqEx/s973/Send%20SMS%20Widget%20in%20Odoo.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="Send SMS Widget Option in Odoo" border="0" data-original-height="294" data-original-width="973" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZumteo4ZVa44u2SLl2Eyq4X5BL5lEpPzzzks-5C8ZFw0qZrjVffO6IpCQ3-WhsFIfVR3UUb4AcmdOMi0HmIFaVVrU_nvY1Py6zzHvwpcDgbPuU6u2sX4Dy_XGOLAnvjARfhMZ0h7RJHPc9dwpIRJplCVwAOb9ISIgv1KmDOWUcD76lplbmUrJuqEx/w400-h121/Send%20SMS%20Widget%20in%20Odoo.PNG" title="Phone widget,Email widget,URL and Website Widget in Odoo,Send SMS Widget Option,enable_sms,website_path,Odoo Cool Widgets,Social Media Marketing Widgets" width="400" /></a></div><br /><p>Similarly, if the "<b>website_path</b>" option in the URL widget is set to True then it appends the path of your website with the field. If you are on localhost:8069, then the "<b>website_path</b>" option will append the localhost:8069 with the entered URL in the website field.</p><p></p><blockquote><field name="website" widget="url" <b>options="{'website_path': True}"</b>/></blockquote><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-39353161520554908392022-05-12T01:59:00.002-07:002022-06-30T03:06:12.366-07:00How to Use ProgressBar, Gauge and Percentpie Widgets In Odoo<p>In this article, you will learn how to use and implement progress, progress bar, gauge, and percentpie widget in Odoo15. You will also learn how to change values dynamically in these widgets.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ5dcvG6xY6psXkj7-QzHrI_45B_culNmq4fk7B1V_4NjnAuE9HZQwrvYNSlO1sclWtmG5DJE0ZsTjQgtheTYBpyMd1Exw1M9zrs_fT3LHnCBJHOPbkNXeLk1u3t5Krl3DiNniXKXiev9j4iLFJrIFNzmhaYKcERjvBF3NDXtDy6SxYsAQwZY8CzSR/s1270/How%20to%20Use%20ProgressBar,%20Gauge%20and%20Percentpie%20Widgets%20In%20Odoo.png" style="margin-left: 1em; margin-right: 1em;"><img alt="How to Use ProgressBar, Gauge and Percentpie Widgets In Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ5dcvG6xY6psXkj7-QzHrI_45B_culNmq4fk7B1V_4NjnAuE9HZQwrvYNSlO1sclWtmG5DJE0ZsTjQgtheTYBpyMd1Exw1M9zrs_fT3LHnCBJHOPbkNXeLk1u3t5Krl3DiNniXKXiev9j4iLFJrIFNzmhaYKcERjvBF3NDXtDy6SxYsAQwZY8CzSR/w640-h316/How%20to%20Use%20ProgressBar,%20Gauge%20and%20Percentpie%20Widgets%20In%20Odoo.png" title="How to Use ProgressBar, Gauge and Percentpie Widgets In Odoo,widget="progressbar",widget="gauge",widget="percentpie", Add progress bar, Odoo15 Features" width="640" /></a></div><br /><h2 style="text-align: left;">Graphical Widgets in Odoo</h2><p>Odoo provides graphical widgets, to show progress of some tasks and events. You can monitor your projects and tasks progress by using these widgets. After reading this article you will be able to.</p><p><i></i></p><blockquote><i><b>Read More:</b> <a href="https://learnopenerp.blogspot.com/2022/05/decorate-text-bold-italic-colors-field-in-tree-view-column-odoo-15.html" target="_blank">Decorate Fields in Odoo (Bold, Italic Text and Color) in Tree View Column</a></i></blockquote><p></p><p></p><ul style="text-align: left;"><li>How to use and implement ProgressBar widget in Odoo</li><li>How to use and implement Gauge widget in Odoo</li><li>How to use and implement Percentpie widget in Odoo</li></ul><p></p><p><b>You can implement these widgets by using below codes:</b></p><p></p><ol style="text-align: left;"><li>widget="progressbar"</li><li>widget="gauge"</li><li>widget="percentpie"</li></ol><p></p><p>But by putting above code snippet in your XML will not work properly, you need to do some calculations in your model.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/use-handle-widget-to-reorder-records-in-tree-view-odoo15.html" target="_blank">Use Handle Widget in Odoo to Reorder Records in Tree View</a></i></blockquote><p></p><h3 style="text-align: left;">How to use and implement ProgressBar widget in Odoo</h3><p></p>
<br />
<script src="https://gist.github.com/sehrishnaz/7b0a5743809c0c184c29e9ae267871b9.js"></script><h3 style="text-align: left;">
How to use and implement Gauge widget in Odoo</h3>
<br />
<script src="https://gist.github.com/sehrishnaz/e7f2ff50e7e531af9ab1a005b838d160.js"></script><h3 style="text-align: left;">
How to use and implement Percentpie widget in Odoo</h3>
<br />
<script src="https://gist.github.com/sehrishnaz/2172a36372adf00943c157bbb552ace6.js"></script>
You can use these progress widgets to show the completion of project or tasks states etc.<div><br /></div><div><i></i><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/how-to-customize-show-rainbow-man-effect-odoo-15.html" target="_blank">How to Show and Customize Rainbow Man Effect in Odoo</a></i></blockquote></div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-82222853529317687722022-05-11T23:32:00.001-07:002022-06-30T03:16:27.655-07:00Use Handle Widget in Odoo to Reorder Records in Tree View<p> In this article, you will learn how to use the Odoo15 Handle Widget feature to reorder records in the tree or list view. By using this widget (widget="handle") you can drag and drop records in the tree view and change their order.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4zBqORlFfYKK-4NxpP-ElcRYPkxKCLf2FTEAlhmVZ0F_l1iizK2k7Ho80hHsqN49-cO-7ijs3apEeYK1GdWtmCwOvXTO9d2KdVLIiOr7HFNsfqa1siz0-1K8W-dQNbqXCRmIUcIsjdVz-eqsoMq4IZRRtP0Bi_ZCZfPC9k2JZBJjl6hNyNB-MMdxf/s1270/Use%20Handle%20Widget%20in%20Odoo%20to%20Reorder%20Records%20in%20Tree%20View.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Use Handle Widget in Odoo to Reorder Records in Tree View" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4zBqORlFfYKK-4NxpP-ElcRYPkxKCLf2FTEAlhmVZ0F_l1iizK2k7Ho80hHsqN49-cO-7ijs3apEeYK1GdWtmCwOvXTO9d2KdVLIiOr7HFNsfqa1siz0-1K8W-dQNbqXCRmIUcIsjdVz-eqsoMq4IZRRtP0Bi_ZCZfPC9k2JZBJjl6hNyNB-MMdxf/w640-h316/Use%20Handle%20Widget%20in%20Odoo%20to%20Reorder%20Records%20in%20Tree%20View.png" title="Use Handle Widget in Odoo to Reorder Records in Tree View,How to Drag and Drop Records in Tree View,Move lines in tree view Odoo15,Order records in list view" width="640" /></a></div><br /><h2 style="text-align: left;">Drag and Reorder Records in Tree View using Handle Widget in Odoo</h2><p>To reorder records located in the tree view, we are going to use the widget="handle" feature provided by Odoo15. By using this we can move tree view records up and down by dragging them and setting their order dynamically.</p><p></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/use-and-add-progressbar-percentpie-gauge-widget-in-odoo.html" target="_blank">How to Use ProgressBar, Gauge and Percentpie Widgets In Odoo</a></i></blockquote><p></p><p><b>Below is the code snippet of reordering records in a tree view using widget="handle".</b></p><p>To achieve this feature you just need to add an Integer field in your model just like below.</p><p></p><blockquote><p>class your_model(models.Model):</p><p> _name = 'your.model'</p><p> sequence = fields.Integer(default=10,help="Gives the sequence order when displaying a list of records.")</p></blockquote><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/add-color-field-using-color-picker-widget-odoo-15.html" target="_blank">Color Field and Color Picker (color_picker) Widgets in Odoo</a></i></blockquote><p></p><p><b>After that use widget="handle" in tree view like below.</b></p><p><b><br /></b></p><p></p><blockquote><field name="sequence" widget="handle"/></blockquote><p></p><p><br /></p><p>Now upgrade the module and see your changes, you just see a small up and down arrow before all of your fields, just drag the record to reorder them and drop it into your desired location. </p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/05/enable-field-tracking-track-visibility-in-odoo-15.html" target="_blank">Enable Tracking (track_visibility) for Fields in Odoo</a></i></blockquote><p></p><p>Here I will discuss one important thing is that when you refresh the page after reordering the records, your changes will be flushed. </p><p>If you want that your reordering will exist after refreshing the page then use the below code in your model.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/06/return-action-display-sticky-notification-odoo-15.html" target="_blank">Show and Display Sticky Notification in Odoo</a></i></blockquote><p></p><p></p><blockquote><p>class your_model(models.Model):</p><p> _name = 'your.model'</p><p> _order = 'sequence,id'</p><p> sequence = fields.Integer(default=10,help="Gives the sequence order when displaying a list of records.") </p></blockquote><p></p><p></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-57199958216641400562022-05-09T23:28:00.003-07:002022-05-09T23:28:56.406-07:00Remove Fold,Edit Stage,Delete and Archive All From Task Kanban View<p> In this article, you will learn how to inherit the task Kanban view of the project management module, and after inheriting we are going to remove the following options and settings from the task Kanban view.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitESkTlvqd145p_l2QuJUgPBR_RJs98vyug3Md77YLQNn7rTdP7OLQaMSnyTXCEoXbFMlxS0f6rM70Wyj3giXDagaZOpMXOvol7noWvhBA3VaREOZWHff-pF5KkK-MDFyMUP83HezQeXdPPK2jRewGwUz_vCa84ApM7HuRejvJVsYJ9tzAwAssC_YW/s765/Remove%20Fold,%20Edit%20Stage,%20Delete,%20Archive%20All%20and%20Add%20New%20Column%20From%20Task%20Kanban%20View%20.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Remove Fold,Edit Stage,Delete and Archive All From Task Kanban View" border="0" data-original-height="425" data-original-width="765" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitESkTlvqd145p_l2QuJUgPBR_RJs98vyug3Md77YLQNn7rTdP7OLQaMSnyTXCEoXbFMlxS0f6rM70Wyj3giXDagaZOpMXOvol7noWvhBA3VaREOZWHff-pF5KkK-MDFyMUP83HezQeXdPPK2jRewGwUz_vCa84ApM7HuRejvJVsYJ9tzAwAssC_YW/w640-h356/Remove%20Fold,%20Edit%20Stage,%20Delete,%20Archive%20All%20and%20Add%20New%20Column%20From%20Task%20Kanban%20View%20.PNG" title="Remove Fold, Edit Stage, Delete and Archive All From Task Kanban View,Inherit task kanban view,Remove Add New Column from CRM,Inherit kanban card, form and tree" width="640" /></a></div><br /><h2 style="text-align: left;">Inheriting Task Kanban View of Project Management Module</h2><p><b>The purpose of inheritance of the Kanban view of a project management module is following:</b></p><p></p><ul style="text-align: left;"><li>To remove or hide the Fold option</li><li>To invisible or visible Edit Stage option</li><li>To hide the Delete option</li><li>To hide or remove Archive All or Unarchived All option</li><li>To remove Add New Column from task Kanban view</li></ul><p></p><p><br /></p><p>To achieve this we are going to inherit the task Kanban view of the project management module and change its attributes. You can also add new fields in the task Kanban card. Below is the complete code to inherit the task Kanban view. </p><p><br />
<script src="https://gist.github.com/sehrishnaz/d2b96ef1df90f2508d7532764329063b.js"></script>
<br/>
</p><p>You can use the same code for the CRM module, you just need to change the only reference of the Kanban form.</p><p><br /></p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-76781907197619409862022-05-08T23:46:00.008-07:002022-05-08T23:49:04.369-07:00Inherit Project and Task Form, Tree, and Search View in Odoo15<p> In this article, you will learn how to inherit Odoo15 Project and Task Module Views like (Form, Tree and Search Views). After inheriting these views we can modify existing fields and their attributes according to our needs.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_DTR7uzQHWPc2cIlvA3s9hm72G3A4-G9MHIDYKYG5mVkjk_r50y0V6IJAta5-yayiTu16ijGmVQ8-LX9f3cmA-udtkfMUjZqxMUBCpzNU0Sm9F2qoS34EkiQevGN206_O1PYgRs6n2AM17TQrfC0lYsx6ZHMu1tQUOEnh6vBsjnLMYdx1SMHAGcRt/s1200/Inherit%20project%20and%20task%20form,%20tree%20and%20search%20view%20in%20Odoo.jpeg" style="margin-left: 1em; margin-right: 1em;"><img alt="Inherit Project and Task Form, Tree, and Search View in Odoo15" border="0" data-original-height="566" data-original-width="1200" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_DTR7uzQHWPc2cIlvA3s9hm72G3A4-G9MHIDYKYG5mVkjk_r50y0V6IJAta5-yayiTu16ijGmVQ8-LX9f3cmA-udtkfMUjZqxMUBCpzNU0Sm9F2qoS34EkiQevGN206_O1PYgRs6n2AM17TQrfC0lYsx6ZHMu1tQUOEnh6vBsjnLMYdx1SMHAGcRt/w640-h302/Inherit%20project%20and%20task%20form,%20tree%20and%20search%20view%20in%20Odoo.jpeg" title="How to inherit project and task form, tree and search view in Odoo,Hide extra filters in search view,Hide extra group by in search view using inheritance" width="640" /></a></div><br /><h2 style="text-align: left;">Why do we inherit these views?</h2><p><b>The purpose of inheritance in Odoo is given below.</b></p><p></p><ul style="text-align: left;"><li>To add additional fields in form, tree, and search views</li><li>To change attributes to visible and invisible some fields </li><li>To add groups and pages in existing views (form, tree, and search)</li><li>To visible or invisible search filters, fields and group by in search views</li><li>To change the label or string of a field in existing views, a special example has been given for the search view</li><li>To add create, delete option using inheritance in the tree view</li><li>We can also inherit window action</li></ul><h3 style="text-align: left;">Inherit Project Search View</h3><div><br /></div><p></p>
<script src="https://gist.github.com/sehrishnaz/7244bd5cd8adb6f00d8e9ec09ebaa502.js"></script><h3 style="text-align: left;">
Inherit Task Search View</h3><div><br /></div>
<script src="https://gist.github.com/sehrishnaz/320b5fd071f68b2976af3941cb592193.js"></script><h3 style="text-align: left;">
Inherit Task Tree View</h3><div><br /></div>
<script src="https://gist.github.com/sehrishnaz/6eb66ce94e3cb725a840f84eaf31282f.js"></script><h3 style="text-align: left;">
Inherit Task Form View</h3><div><br /></div>
<script src="https://gist.github.com/sehrishnaz/5502374da94ebb4202042a23159d9b90.js"></script>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-29365951196431447272022-04-28T22:16:00.005-07:002022-04-28T22:30:33.190-07:00Duplicate Records on Button Click in Odoo15<p style="text-align: justify;"> In this article, you will learn how to duplicate records in Odoo15 using a button click instead of the "Duplicate" button located in the "Action" menu. To duplicate records at the click of a button we are going to use Odoo built-in methods (<b>copy </b>and <b>copy_data</b>).</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMzIsV1wIkbGitUkjOz88JqPBUhh5PxhFJzfcOn3K_QaaooRnOjAlTCtzl-YBRSWZHp181nHT-XjeniCq5wlnkJs-C2cvG4fu4lgnMk24s14esID6EUYKyAdeODuyCO13SEyjvVBGIxxzVABuO89A9nNL9WEYScXBeJD-5Lwr_XhyQlGb2dHFu0WA8/s2560/How%20to%20duplicate%20records%20using%20copy%20and%20copy_data%20function.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Duplicate Records on Button Click in Odoo15" border="0" data-original-height="1422" data-original-width="2560" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMzIsV1wIkbGitUkjOz88JqPBUhh5PxhFJzfcOn3K_QaaooRnOjAlTCtzl-YBRSWZHp181nHT-XjeniCq5wlnkJs-C2cvG4fu4lgnMk24s14esID6EUYKyAdeODuyCO13SEyjvVBGIxxzVABuO89A9nNL9WEYScXBeJD-5Lwr_XhyQlGb2dHFu0WA8/w640-h356/How%20to%20duplicate%20records%20using%20copy%20and%20copy_data%20function.jpg" title="How to use .copy() and .copy_data() function in Odoo15,Why we use copy_data and copy method,Duplicate records or data on button click in Odoo" width="640" /></a></div><br /><h2 style="text-align: left;">How to duplicate records using the copy and copy_data function</h2><p style="text-align: justify;">Odoo15 provides a built-in method copy to create new a record, by default this function uses the <b>copy_data </b>function to create new records with existing data. To create new or duplicate records you can also use Odoo by default "<b>Duplicate</b>" feature.</p><p style="text-align: justify;"><i></i></p><blockquote><i><span style="color: #38761d;"><b>Read More:</b></span> <a href="https://learnopenerp.blogspot.com/2021/01/how-to-use-copy-duplicate-function-odoo.html" target="_blank">How to Use Copy Function in Odoo8</a></i></blockquote><p></p><p style="text-align: justify;">But in this article, I will show you how to achieve this functionality by clicking the button. Below are the steps to create a duplicate record.</p><h3 style="text-align: left;">duplicate_record.xml</h3><div><blockquote><i><button class="oe_stat_button" icon="fa-files-o" name="btn_duplicate" type="object" string="Duplicate"/></i></blockquote><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;">duplicate_record.py </h3><div><br /></div></div>
<script src="https://gist.github.com/sehrishnaz/7b31f6f5c33f125b02dd95ae993d472b.js"></script>
<h2 style="text-align: left;">How to use copy() and copy_data() function in Odoo15<span style="white-space: pre;"> </span></h2><div style="text-align: justify;"><b>copy()</b> function is used to copy or duplicate records, in the above code we have the <b>.copy()</b> function, this function takes some optional parameters in the form of a dictionary. If you want to add or modify some default data then you can pass the dictionary in the copy function like below.</div><div><br /></div><div><blockquote><i>duplicate_rec = self.copy({field_1:'Test', 'field_2':self.field_name})</i></blockquote></div><div><br /></div><div style="text-align: justify;">To get the data of a model you can use the <b>.copy_data()</b> function, this function will return the list of dictionaries with all the existing data of a record set.</div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-32080631882125020792022-04-04T02:37:00.015-07:002022-04-04T02:41:14.252-07:00Run Odoo Service/Server as an Executable File in Windows<p> In this article, you will learn how to run the Odoo service by just double-clicking (executable) on the Icon. Normally we use the command line or terminal to run an instance of Odoo on the server or our local system.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZun3bX54q-xmLtr49HMLUSVj1KvUZVLoADnuoldINH3JQcjOtb9v63rq3z5WukRniLxuIhJhnmui6-D_Yzi-ie_TB6f2o922qox0QrXSbUf0fSBhtXB5Qa8FuyQuc8VpGmBfjg0Rt4EUEFh8vpBZVcbP5nrXlWYP9ztAI3BaQ9otP7vsYcHvvC4u5/s1367/Run%20Odoo%20Service%20or%20Server%20as%20an%20Executable%20File%20in%20Windows.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Run Odoo Service/Server as an Executable File in Windows" border="0" data-original-height="650" data-original-width="1367" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZun3bX54q-xmLtr49HMLUSVj1KvUZVLoADnuoldINH3JQcjOtb9v63rq3z5WukRniLxuIhJhnmui6-D_Yzi-ie_TB6f2o922qox0QrXSbUf0fSBhtXB5Qa8FuyQuc8VpGmBfjg0Rt4EUEFh8vpBZVcbP5nrXlWYP9ztAI3BaQ9otP7vsYcHvvC4u5/w640-h304/Run%20Odoo%20Service%20or%20Server%20as%20an%20Executable%20File%20in%20Windows.jpg" title="How to make Odoo executable, Run Odoo Service as exe file, Run Odoo service in the background, Odoo as executable software, Manually run odoo server,odoo-bin,.conf" width="640" /></a></div><br /><h3 style="text-align: left;">How to Run Odoo Service by just double-clicking on an Icon</h3><p>To run the Odoo service just like a .exe file, you need two scripts. The one is to run the service for Odoo, and the other is to hide the command line (that run's the Odoo service).</p><p><b>Below are the steps to run the Odoo service as an exe file.</b></p><p></p><ul style="text-align: left;"><li>Create a file with extension .bat (you can give it any name)</li><li>Paste the below code into the above-created file</li></ul><p></p><p><b>Note:</b> If you are using an older version of Odoo like Odoo8 then you have to set the path below</p><p><br /></p><p></p><blockquote><p><i>@ECHO OFF<br />start http://localhost:8069<br />python D:\odoo\odoo.py</i></p><p></p></blockquote><p><br /></p><p>If you are using the latest version of Odoo like Odoo14 or Odoo15 then you have to set the file path like below<br /><br /></p><p></p><blockquote><i>@ECHO OFF<br />start http://localhost:8069<br />python D:\odoo15/odoo-bin -c D:\odoo15\debian\odoo.conf</i></blockquote><p></p><p><br /></p><p>The above batch file will just run the Odoo service by opening a command-line window and opening localhost in your default web browser. If you want to close that command line and run the batch file script in the background then you have to follow the below steps.</p><p></p><ul style="text-align: left;"><li>Create a file with extension .vbs (you can give it any name)</li><li>Pate the below code in the above file</li></ul><p></p><p><br /></p><p></p><blockquote><i>Set WshShell = CreateObject("WScript.Shell") <br />WshShell.Run chr(34) & "path of you bat file which you have created in above steps\run_software.bat" & Chr(34), 0, True<br />Set WshShell = Nothing</i></blockquote><p></p><p>Now, whenever you will double click on that file, the localhost of Odoo will be open, and the Odoo service will be run in the background.</p>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-17288703681530704752022-03-02T22:15:00.002-08:002022-03-02T22:15:30.408-08:00Override Built-in Modules Button Method in Odoo<p style="text-align: justify;"> In this article, you will learn how to override a button located in built-in modules like purchase, sales, crm, etc. To achieve this functionality we will use the super method provided by odoo.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh9B3nPf2j5DV4sIzKnS4LmxNZ5vy96IBiBAIM_ytvI_SIDOyu-x3k2kR66LF8aYYf0I9CvP2K7HHLbJHSVQbQ9OcUeEJqnkOxXJi7xSAgthA4OSPMeJ8A_AbMuzgclX_xM3NAczLtKJrHX_y0329C0wD0r0BPaSDugwWNSJyIM5xnxQfd9Jq-Xi6Xk=s1270" style="margin-left: 1em; margin-right: 1em;"><img alt="Override Built-in Modules Button Method in Odoo" border="0" data-original-height="629" data-original-width="1270" height="316" src="https://blogger.googleusercontent.com/img/a/AVvXsEh9B3nPf2j5DV4sIzKnS4LmxNZ5vy96IBiBAIM_ytvI_SIDOyu-x3k2kR66LF8aYYf0I9CvP2K7HHLbJHSVQbQ9OcUeEJqnkOxXJi7xSAgthA4OSPMeJ8A_AbMuzgclX_xM3NAczLtKJrHX_y0329C0wD0r0BPaSDugwWNSJyIM5xnxQfd9Jq-Xi6Xk=w640-h316" title="Override Built-in Modules Button Method in Odoo,Override button in purchase,crm,sale,project model,Modify Default button functionality,Inherit button method" width="640" /></a></div><br /><h2 style="text-align: left;">How to override button functionality in odoo</h2><p style="text-align: justify;">To override the button method in our custom module we are going to use the super method, the purpose of overriding any button is to add or modify the existing functionality that comes with odoo modules by default.</p><h3 style="text-align: justify;">Built-in module code</h3><div><br /></div>
<script src="https://gist.github.com/sehrishnaz/1f82a15406c3cc8670515b7c9e256e0b.js"></script>
In the above code, we have an account.voucher model and this model contains a button named "button_proforma_voucher". Now we want to override this button in our custom module. To do this we have to inherit this model and button method in our custom module.
<div><br /></div>
<br/>
<script src="https://gist.github.com/sehrishnaz/75c27c67604888ca1c3b7630ea499ce1.js"></script>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-60974388236347997172022-02-10T00:11:00.003-08:002022-12-13T21:52:03.807-08:00Create Dynamic Sitemap in Django Using Multiple Models Slug<p> In this article, you will learn how to create a dynamic sitemap in Django using slug of multiple models. For example, if we want to show URLs in a sitemap like this http://example.com/slug-field-from-model-1/slug-field-from-model2 then just sit back and follow this great tutorial.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiP9DZPVScNnT-kFAFCvwmIpbQFftXQaYqa3DlnZzQo3W6Hip4GQNmzNExRWW6Y966jvVNkQmYordvQtVEO2CiqTMs6hX65GsdGLYBQLJWHDE-qSoOjLcFwy9P47n4d9CVk9eheAUiRcDsdnG3A27hWhba7AeF4qwwKYxqufOaJISmMf4HPDr8VUbYg=s902" style="margin-left: 1em; margin-right: 1em;"><img alt="Create Dynamic Sitemap in Django Using Multiple Models Slug" border="0" data-original-height="365" data-original-width="902" height="258" src="https://blogger.googleusercontent.com/img/a/AVvXsEiP9DZPVScNnT-kFAFCvwmIpbQFftXQaYqa3DlnZzQo3W6Hip4GQNmzNExRWW6Y966jvVNkQmYordvQtVEO2CiqTMs6hX65GsdGLYBQLJWHDE-qSoOjLcFwy9P47n4d9CVk9eheAUiRcDsdnG3A27hWhba7AeF4qwwKYxqufOaJISmMf4HPDr8VUbYg=w640-h258" title="Create Dynamic Sitemap in Django Using Multiple Models Slug,Automatically sitemap generation,Use django.contrib.sites and django.contrib.sitemaps" width="640" /></a></div><br /><h2 style="text-align: left;">What is a sitemap?</h2><p>A sitemap is the blueprint of your website. It is an XML file that has all of your web page links its priority and the last modified date. This information will help the search engine crawler to crawl all of your web pages in a go. In this article, I am going to show how to add a dynamic sitemap in the Django app using the below Django sitemap frameworks.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Enjoy Free SEO Tools:</span></b> <a href="https://w3aischools.com/seo-tools/free-seo-optimised-xml-sitemap-generator-online/" target="_blank">Free SEO Optimized Xml Sitemap Generator Online</a></i></blockquote><p></p><p><i><span style="color: #38761d;"><a href="goog_2046630322"><b></b></a></span></i></p><blockquote><i><span style="color: #38761d;"><a href="https://heducates.herokuapp.com/" target="_blank"><b>Use Digital Marketing Tools Free</b></a></span></i></blockquote><p></p><p></p><ol style="text-align: left;"><li>django.contrib.sites</li><li>django.contrib.sitemaps</li></ol><p></p><h3 style="text-align: left;">Create Sitemap Automatically in Django</h3><p>Below is the step-by-step guide to creating automatic sitemaps in the Django application.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Enjoy Free SEO Tools:</span></b> <a href="https://w3aischools.com/seo-tools/analyze-and-test-robots-txt-files-on-large-scale/" target="_blank">Analyze And Test Robots Txt Files On Large Scale</a></i></blockquote><p></p><p>First of all, add the above apps provided by Django in INSTALLED_APPS located in the settings.py file and add SITE_ID = 1 below the INSTALLED_APPS list. </p><p></p><blockquote><p>INSTALLED_APPS = [</p><p> # your other apps goes here</p><p> 'django.contrib.sites',</p><p> 'django.contrib.sitemaps',</p><p>]</p><p>SITE_ID = 1</p></blockquote><p></p><p>Make sure that in your settings.py file under TEMPLATES you have DjangoTemplates listed (generally you don't need to do this because it should be here by default), and 'APP_DIRS': True set to true.</p><p></p><blockquote><p>TEMPLATES = [</p><p> {</p><p> 'BACKEND': 'django.template.backends.django.DjangoTemplates',</p><p> 'APP_DIRS': True,</p><p> },</p><p>]</p></blockquote><p></p><p><br /></p><h3 style="text-align: left;">Run migrations to load your changes.</h3><p></p><ul style="text-align: left;"><li>py manage.py makemigrations</li><li>py manage.py migrate</li></ul><p></p><p>Logged in as administrator http://127.0.0.1/admin and go to Sites and change Domain Name and Display Name as 127.0.0.1:8000 if you are in development mode, if you are working on production environment branch then change the above as per your domain name.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Enjoy Free SEO Tools:</span></b> <a href="https://w3aischools.com/seo-tools/meta-description-tag-length-checker-for-all-pages/" target="_blank">Meta Description Tag Length Checker For All Pages</a></i></blockquote><p></p><p>Create a new python file sitemap.py where your models.py and views.py files are located and follow below code snippet.</p>
<br />
<script src="https://gist.github.com/sehrishnaz/da5bf900800404a1b3e2a6a1d81db108.js"></script>
In the above code we have imported the Sitemap class from django.contrib.sitemaps and import our models. Next, we have created a MySitemap class that extends the Sitemap class. Below are the description of MySitemap class data members and member functions.<div><br /></div>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>changefreq</td>
<td>Shows how frequently the content of the page changes, its value should be one of them (always, hourly, daily, weekly, monthly, yearly, never)</td>
</tr>
<tr>
<td>priority</td>
<td>Priority shows how much the web pages are important than other pages. You can choose the value between 0.0 upto 1.0</td>
</tr>
<tr>
<td>protocol</td>
<td>Protocol eighter http or https, in development mode it would be http and in production it would be https</td>
</tr>
<tr>
<td>item</td>
<td>Its a class member function and return all of the objects from model which we want to show as a sitemap in our django app</td>
</tr>
<tr>
<td>lastmod</td>
<td>Returns the date when the last time your model instance or object was modified. It should be a date field created in your model.</td>
</tr>
<tr>
<td>location</td>
<td>This will return the PATH or URL of your web pages, in simple words it can be a slug field. By default django framework calls the get_absolute_url() function to return the path.</td>
</tr>
</tbody>
</table>
<br /><div><h3 style="text-align: left;">Add your sitemap in urls.py</h3><div><br /></div><div>Now it's time to add our sitemap class in urls.py file. Follow the below code snippet to add this.</div><div><br /></div><div><br /></div><div></div><blockquote><div>from django.contrib.sitemaps.views import sitemap</div><div>from some_dir.sitemap import Your_Sitemap_Class</div><div><br /></div><div>sitemaps = {</div><div> 'some_key':Your_Sitemap_Class</div><div>}</div><div><br /></div><div>urlpatterns = [</div><div> path('admin/', admin.site.urls),</div><div> path('sitemap.xml', sitemap, {'sitemaps': sitemaps},name='django.contrib.sitemaps.views.sitemap'),</div><div>]</div></blockquote><div></div></div><div><br /></div><div>You have created successfully dynamic sitemap in your django app.</div>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0tag:blogger.com,1999:blog-8595257070137317196.post-66051635803406514672022-01-03T02:19:00.002-08:002022-02-18T04:17:17.558-08:00Post Request Via Ajax in Django CSRF Token Missing or Incorrect<p> In this article, you will learn how to make a POST request in Django using Ajax. To make an Ajax call you must include csrf token in your ajax post call request.</p><span><a name='more'></a></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg6NZYzg1TZTFiYx8rvNhsxZ4Jgu0gnpV01HJIlfDz81T1sT-wsrM8beTYiHzQ07xckRVhoSwqCX1-WK_pfAOtHQhW_qidWZz3K_OYcekm25qjqGxOOG1d2KVKQQon35db-11IrPe4WKqVCxVtU6zLY_7IHSRcros3F3jT_sfC8ZC4mDnWxS03-LHiN=s1200" style="margin-left: 1em; margin-right: 1em;"><img alt="Post Request Via Ajax in Django CSRF Token Missing or Incorrect" border="0" data-original-height="630" data-original-width="1200" height="336" src="https://blogger.googleusercontent.com/img/a/AVvXsEg6NZYzg1TZTFiYx8rvNhsxZ4Jgu0gnpV01HJIlfDz81T1sT-wsrM8beTYiHzQ07xckRVhoSwqCX1-WK_pfAOtHQhW_qidWZz3K_OYcekm25qjqGxOOG1d2KVKQQon35db-11IrPe4WKqVCxVtU6zLY_7IHSRcros3F3jT_sfC8ZC4mDnWxS03-LHiN=w640-h336" title="Post Request Via Ajax in Django CSRF Token Missing or Incorrect,How to setup ajax for django,Ajax csrf token,csrfmiddlewaretoken: '{{ csrf_token }}',$.ajaxSetup" width="640" /></a></div><br /><h2 style="text-align: left;">CSRF Token Missing or Incorrect in Django</h2><p>Below is the step-by-step guide on how to use Ajax with Django and make a POST request via ajax in Django.</p><p><i></i></p><blockquote><i><b><span style="color: #38761d;">Read More:</span></b> <a href="https://learnopenerp.blogspot.com/2022/01/django-perfect-seo-friendly-urls-using-slug.html" target="_blank">Making Perfect SEO Friendly URL in Django Using Slug</a></i></blockquote><p></p><p>First of all, I have an HTML file that contains a "<b>textarea</b>" input field and a button, the button has a JavaScript function called "<b>ButtonSearchClick()</b>". On that button click, we are going to make a POST request via ajax in Django.</p><p><i><span style="color: #38761d;"><a href="https://heducates.herokuapp.com/" target="_blank"><b></b></a></span></i></p><blockquote><i><span style="color: #38761d;"><a href="https://heducates.herokuapp.com/" target="_blank"><b><span style="color: #38761d;">Use Digital Marketing Tools Free</span></b></a></span></i></blockquote><p></p><h3 style="text-align: left;">index.html</h3>
<script src="https://gist.github.com/sehrishnaz/28f0fb7b114fd73ceb3bcb27ebecfb7b.js"></script><h3 style="text-align: left;">
ajax_post.js</h3>
<script src="https://gist.github.com/sehrishnaz/1b0c7dce26fe6f9bca3ef02db1e054ee.js"></script>
<div>If you did not set the csrf token, and you make an ajax post request to Django then you got the following error.</div><div><blockquote><span style="color: #990000;"><i>Forbidden (CSRF token missing or incorrect.)</i></span></blockquote></div><div><br /></div><h4 style="text-align: left;"><span style="color: #38761d;">[Resolved]</span> Forbidden (CSRF token missing or incorrect)</h4><div>You can use one of the below codes before making an ajax POST request call to Django.</div><div><br /></div><h4 style="text-align: left;">Solution 1</h4>
<script src="https://gist.github.com/sehrishnaz/2649a259edc260cbfa16d1eb2ee00774.js"></script><h4 style="text-align: left;">Solution 2</h4>
<script src="https://gist.github.com/sehrishnaz/ec33dfb9ee907468d750a2bb8468bddc.js"></script>Programming Solutionshttp://www.blogger.com/profile/02941083259148638865noreply@blogger.com0