There's more...

There are a few other ways to manage the settings options. One of them is to separate features in the new module and install or uninstall them through options. To do this, you will need to add a Boolean field with the name of the module prefixed with module_. If, for example, we create a new module called my_library_extras, you will need to add a Boolean field, as follows:

module_my_library_extras = fields.Boolean(string='Library Extra Features')

When you enable or disable this option, odoo will install or uninstall the my_libarary_extras module.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset