In Odoo, linking an action to a menu item is a common task when creating custom modules or modifying existing ones. Here’s how you can do it step by step: 1. Define the Action This can be a window action, report action, etc. Most commonly, it’s a ir.actions.act_window to open a form/list view. 2. Create […]
In Odoo, a Scheduled Action (also called a cron job). Scheduled Actions in Odoo are automated tasks that run at set intervals without user input. They are used for things like sending reminder emails, updating reports, or cleaning up old data. You can set them up in Settings → Technical → Scheduled Actions, choosing: What […]
In Odoo, actions are predefined operations that determine what happens when a user interacts with a menu item, button, or other UI elements. Actions define how views, reports, wizards, or other operations behave in response to user input. Types of Actions in Odoo Window Actions (ir.actions.act_window) Used to open views (form, tree, kanban, etc.). Example: […]
In Odoo, a menu is a navigation element that allows users to access different modules, views, and functionalities. Menus help to structure the interface, making it easier to navigate through various features. Types of Menus in Odoo Main Menu (Top-Level Menu) Displays primary modules such as Sales, Purchase, Inventory, Accounting, etc. Found in the top navigation […]
In the Odoo framework, “models” are used for structuring and managing data that the Odoo application stores. An Odoo model is a Python class that represents a database table. Odoo primarily uses three types of models: 1.models.Model (Regular Models): 2.models.TransientModel (Transient Models): 3.models.AbstractModel (Abstract Models): 1. Regular model/standard model The primary reason for using regular models is […]
To add an icon image to a module in Odoo 18, follow these steps: Prepare the Icon Image: Create an icon image named icon.png. Ensure the image is appropriately sized, typically 256×256 pixels, and in PNG format. Place the Icon in the Module Directory: Within your module’s directory, navigate to or create the following path: […]
The __manifest__.py file provides metadata about your module. Populate it with relevant information { { ‘name’: “College ERP”, ‘version’: “18.0.1.0.1”, ‘license’: “LGPL-3”, ‘summary’: “””An erp for college education”””, ‘description’: “””From student administration to exam this covers all aspects of college”””, ‘author’: “CBMS Techno Solutions”, ‘category’: “Education”, ‘website’: ” ‘maintainer’: “CBMS Techno Solutions”, ‘sequence’: 1, ‘data’: [“security/ir.model.access.csv”, […]
In Odoo, the custom addons path refers to the directory where you store your custom modules, separate from Odoo’s core modules. This helps in maintaining modularity and prevents conflicts when upgrading Odoo.If you want to store custom Odoo modules separately from the default Odoo addons, you need to create a custom addons path and configure […]