mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 11:31:59 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
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:
|
||||
|
||||
#. Go on 'Settings' -> 'Users & Companies' -> 'Groups'.
|
||||
#. Open the group 'Maintenance / Equipment Manager' form.
|
||||
#. In the tab 'Users', add the user you want to give access to.
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
* Antonio Esposito <a.esposito@onestein.nl>
|
||||
* Andrea Stirpe <a.stirpe@onestein.nl>
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
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:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<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>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
To use this module, you need to:
|
||||
|
||||
#. Go to *Maintenance > Configuration > General Settings*.
|
||||
Loading…
Add table
Add a link
Reference in a new issue