The issue arises because the image_1920 field is of type binary, and Odoo does not support tracking on binary fields (like images or file attachments). The mail tracking system tries to create tracking values for fields (to track changes in the chatter), but it fails when it hits a binary field. You need to remove […]
The two field definitions, image_1920 = fields.Image(string=”Student Image”) and image_1920 = fields.Binary(string=”Student Image”), both serve the purpose of storing image data in an Odoo model, but they have some key differences in how they are intended to be used and how Odoo handles them by default. Here’s a breakdown of the distinctions: fields.Image(string=”Student Image”) Intended […]
college_student.py admission_no = fields.Char(string=”Admission Number”, required=True) admission_date = fields.Date(string=”Admission Date”, required=True) first_name = fields.Char(string=”First Name”, required=True) last_name = fields.Char(string=”Last Name”, required=True) father_name = fields.Char(string=”Father’s Name”, required=True) mother_name = fields.Char(string=”Mother’s Name”, required=True) communication_address = fields.Text(string=”Communication Address”, required=True) street = fields.Char() street2 = fields.Char() zip = fields.Char() city = fields.Char() country_id= fields.Many2one(‘res.country’) state_id = fields.Many2one(‘res.country.state’, ‘Fed. State’, […]
In Odoo, a security file is typically a CSV file or XML that defines access control rules and record rules for different user groups. These files are used to restrict or grant permissions to models (tables) in the database. link: Types of Security Files in Odoo Access Control List (ACL) Files (ir.model.access.csv) Defines CRUD (Create, Read, […]
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, menus are part of the user interface that help users navigate to different features and functionalities within each module. Menus are structured hierarchically: main menus, sub-menus, and menu items (actions or views). Here’s a breakdown of menus in Odoo: 🔹 1. Main Menus These are the top-level categories visible on the top bar […]
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 […]
Creating a model in Odoo 18 involves defining a new database structure to represent your business data and creating corresponding views for user interaction. Here’s a step-by-step guide to help you through the process: 1. Set Up Your Module Structure Begin by creating a new module to house your custom model. This approach ensures that […]
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”, […]