Skip to content

Latest commit

 

History

History

base_maintenance_config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maintenance Settings

Beta License: AGPL-3 OCA/maintenance Translate me on Weblate Try me on Runboat

This module provides an empty general settings section for the maintenance configuration.

This is a technical module and it doesn't provide any new functionality. Extend this module to add general settings related to the maintenance app.

When extending the general settings view, here is an example of how the code would look like:

<record id="res_config_settings_view_form" model="ir.ui.view">
    <field name="model">res.config.settings</field>
    <field name="inherit_id" ref="base_maintenance_config.res_config_settings_view_form"/>
    <field name="arch" type="xml">
        <xpath expr="//div[@id='configure_maintenance']" position="after">
            <div class="col-xs-12 col-md-6 o_setting_box">
                <div class="o_setting_right_pane">
                    <label for="new_field_name"/>
                    <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
                    <div class="row">
                        <div class="text-muted col-md-8">
                            Set some configuration data for this field ...
                        </div>
                    </div>
                    <div class="content-group">
                        <div class="mt16">
                            <field name="new_field_name" class="o_light_label"/>
                        </div>
                    </div>
                </div>
            </div>
        </xpath>
    </field>
</record>

Table of contents

Configuration

To let one user access the general settings section for the maintenance configuration, you should assign the 'Equipments Manager' group to that user.

To do so, you need to:

  1. Go on 'Settings' -> 'Users & Companies' -> 'Groups'.
  2. Open the group 'Maintenance / Equipment Manager' form.
  3. In the tab 'Users', add the user you want to give access to.

Usage

To use this module, you need to:

  1. Go to Maintenance > Configuration > General Settings.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Onestein

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/maintenance project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.