Skip to main content

Provides general settings for the Maintenance App

Project description

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

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 smashing 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_base_maintenance_config-12.0.1.0.0.99.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_base_maintenance_config-12.0.1.0.0.99.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfdce27a4b65230ac90843ba04e5313c21288eb2646969a492c3d56a24714f61
MD5 1fbadbd586bbccebb970f0223155489c
BLAKE2b-256 ee47ddb8b7ccbe1af001b4a3523f5bf8f67db6039833817b0a8d62d7961d7f50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page