How to Create a Manifest File in Odoo 18

CelineGeorge1 20 views 10 slides Oct 17, 2025
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

The `__manifest__.py` file is mandatory for all Odoo 18 modules, acting as the metadata entry point to inform the server about the module. It is a Python dictionary defining essential keys like name, version, dependencies, and paths to configuration data, allowing the module to be loaded and install...


Slide Content

How to Create a Manifest File in Odoo 18? Enterprise

Enterprise In Odoo 18, every module needs a special file called __manifest__.py. This file contains the module’s metadata—like its name, version, category, and summary. It acts as a configuration file that allows Odoo to recognize and load the module properly. Introduction

Enterprise Inside your custom module folder, create a file named: __manifest__.py

Enterprise Add the following basic content:

Enterprise Let’s explain the commands. name: The display name of the module. version: Indicates the current version of the module. summary: A brief one-line overview of what the module does. description: A more detailed explanation of the module’s features and functionality. category: The classification category used to group the module in the Apps menu. author: The individual or organization that developed the module. company: The name of the company associated with the module.

Enterprise maintainer: The person or team responsible for maintaining the module. website: The URL pointing to the module's or maintainer’s website. depends: A list of other modules that this module relies on to work properly. data: XML or CSV files that are loaded during module installation or update. These usually include views, security rules, and predefined data. assets: Specifies static files like CSS, JavaScript, images, or fonts used in the module. images: Lists image file paths that represent the module, typically used in the Apps view.

Enterprise license: Defines the licensing terms under which the module is shared or distributed. LGPL-3: Flexible, allows private use and modification. AGPL-3: Requires source code sharing when used over a network. GPL-3: Strong copyleft; modifications must be open if redistributed. OEEL-1: Odoo’s proprietary license for Enterprise modules.

Enterprise installable: A boolean value indicating whether the module can be installed. application: A boolean flag to mark whether the module is a full standalone application. auto_install: When set to True, the module installs automatically if its dependencies are met.

Enterprise This is how we can set up the manifest file correctly to build a reliable and functional custom module in Odoo 18. Conclusion

For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com