KEMBAR78
How to Create a Manifest File in Odoo 18 | PPTX
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

How to Create a Manifest File in Odoo 18

  • 1.
    How to Createa Manifest File in Odoo 18? Enterprise
  • 2.
    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
  • 3.
    Enterprise ● Inside yourcustom module folder, create a file named: __manifest__.py
  • 4.
    Enterprise ● Add thefollowing basic content:
  • 5.
    Enterprise ● Let’s explainthe 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.
  • 6.
    Enterprise ○ maintainer: Theperson 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.
  • 7.
    Enterprise ○ license: Definesthe 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.
  • 8.
    Enterprise ○ installable: Aboolean 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.
  • 9.
    Enterprise This is howwe can set up the manifest file correctly to build a reliable and functional custom module in Odoo 18. Conclusion
  • 10.
    For More Info. Checkour company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com