In your Odoo custom module, create a security folder and add a file named ir.model.access.csv. This file is required to manage access rights for the model.
Execute a Python Method on Button Click in Odoo
we will demonstrate how to update a student’s department using a wizard form in Odoo. The wizard will allow the user to input a new department name and apply the change to the selected student’s record upon clicking a button.
Calling a Odoo Wizard from a Menu
What is an Odoo Wizard? A wizard in Odoo is a popup window primarily used to perform user-defined actions. It operates using a Transient Model, which means the data it handles is stored temporarily and is automatically deleted from the database at regular intervals....
Securing Your Node.js API Backend Services with Helmet
In the vast expanse of web development, securing your backend services is paramount to ensure the safety and integrity of your application. For Node.js applications, one of the go-to packages for bolstering security is Helmet. Helmet helps you secure your Express apps by setting various HTTP headers. Let’s dive into how you can protect your Node.js API backend services using Helmet.
Integrating GraphQL with React using AWS AppSync
In this comprehensive tutorial, we’ll explore the process of integrating a GraphQL API with a React.js application using AWS AppSync. GraphQL is a powerful query language that allows clients to request only the data they need, while AWS AppSync provides a managed GraphQL service, making it easy to build scalable and real-time applications. By combining these technologies with React.js, we can create efficient and flexible web applications. This guide is suitable for beginners, providing step-by-step instructions and explanations.
How to do Web Scraping using NodeJS: Extract Wikipedia Data with Cheerio.
Web scraping is a powerful technique for programmatically gathering data from websites. It’s particularly useful for extracting structured data from web pages, such as tables, lists, and paragraphs. In this article, we’ll explore how to scrape a table from Wikipedia using Node.js, focusing on the “Wikipedia:About” page as our example. We’ll use two popular Node.js libraries: axios for making HTTP requests and cheerio for parsing HTML and traversing the DOM.