Axelor Doc

Dynamic Modules

A dynamic module is a module maven with an additional configuration file specific to the platform and called module.properties :

Example module.properties file nonresponsive
name = axelor-sale
version = 0.9.0-SNAPSHOT

title = Axelor :: Sale
description = The sales module

depends = \\
    axelor-contact \\
    axelor-auth \\
    axelor-core
Example of dynamic file module.properties
name = axelor-sale2
version = 0.9.0-SNAPSHOT

title = Axelor :: Sale2
description = The extended sales module

removable = true

depends = \\
    axelor-sale

Admission removable = true in the configuration file determines the dynamic nature of the module. This module is also a classic maven module, it must be included among the dependencies of the application in the main pom.xml. However, the startup of the application, this module will not be installed. It can be at any time using the menu entry:

Administration -> Management Module

The views and selections defined in a dynamic modulus can replace the original definition. Simply define the view with the same name. Extended view will have a higher priority and will be displayed by default. The definitions of menus and actions can not be replaced.