Initial commit maintenance_notebook for 11.0

This commit is contained in:
Jared Kipe
2018-04-24 09:34:11 -07:00
committed by Mayank Patel
parent 4e60f0b990
commit d3eeef7ea0
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,22 @@
{
'name': 'Maintenance Notebook',
'version': '11.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,
}

View 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>