mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'mig/18.0/maintenance_notebook' into '18.0'
WIP: mig/18.0/maintenance_notebook into 18.0 See merge request hibou-io/hibou-odoo/suite!1730
This commit is contained in:
22
maintenance_notebook/README.rst
Normal file
22
maintenance_notebook/README.rst
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
****************************
|
||||||
|
Hibou - Maintenance Notebook
|
||||||
|
****************************
|
||||||
|
|
||||||
|
Base module that creates tabs used in `maintenance_repair <https://github.com/hibou-io/hibou-odoo-suite/tree/11.0/maintenance_repair>`_ and `maintenance_timesheet <https://github.com/hibou-io/hibou-odoo-suite/tree/11.0/maintenance_timesheet>`_
|
||||||
|
|
||||||
|
For more information and add-ons, visit `Hibou.io <https://hibou.io/>`_.
|
||||||
|
|
||||||
|
|
||||||
|
.. image:: https://user-images.githubusercontent.com/15882954/41258483-2666f906-6d85-11e8-9f74-a50aaa6b527b.png
|
||||||
|
:alt: 'Equipment Detail'
|
||||||
|
:width: 988
|
||||||
|
:align: left
|
||||||
|
|
||||||
|
|
||||||
|
=======
|
||||||
|
License
|
||||||
|
=======
|
||||||
|
|
||||||
|
Please see `LICENSE <https://github.com/hibou-io/hibou-odoo-suite/blob/11.0/LICENSE>`_.
|
||||||
|
|
||||||
|
Copyright Hibou Corp. 2018
|
||||||
1
maintenance_notebook/__init__.py
Normal file
1
maintenance_notebook/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
22
maintenance_notebook/__manifest__.py
Normal file
22
maintenance_notebook/__manifest__.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
'name': 'Maintenance Notebook',
|
||||||
|
'version': '18.0.1.0.0',
|
||||||
|
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||||
|
'category': 'Human Resources',
|
||||||
|
'summary': 'Record time on maintenance requests.',
|
||||||
|
'description': """
|
||||||
|
Maintenance Notebook
|
||||||
|
====================
|
||||||
|
|
||||||
|
Adds a 'notebook' XML element to the Maintenance form to add pages in other modules.
|
||||||
|
""",
|
||||||
|
'website': 'https://hibou.io/',
|
||||||
|
'depends': [
|
||||||
|
'maintenance',
|
||||||
|
],
|
||||||
|
'data': [
|
||||||
|
'views/maintenance_views.xml',
|
||||||
|
],
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
||||||
13
maintenance_notebook/views/maintenance_views.xml
Normal file
13
maintenance_notebook/views/maintenance_views.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<odoo>
|
||||||
|
<record model="ir.ui.view" id="hr_equipment_request_view_form_notebook">
|
||||||
|
<field name="name">equipment.request.form.notebook</field>
|
||||||
|
<field name="model">maintenance.request</field>
|
||||||
|
<field name="inherit_id" ref="maintenance.hr_equipment_request_view_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='description']" position="after">
|
||||||
|
<notebook/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user