diff --git a/README.md b/README.md index d50968a21c..6b4796b3bf 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,19 @@ [![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/264/11.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-field-service-264) [![Build Status](https://travis-ci.org/OCA/field-service.svg?branch=11.0)](https://travis-ci.org/OCA/field-service) -# Field Service +# Field Service Management + +[Field service management](https://en.wikipedia.org/wiki/Field_service_management) (FSM) coordinates company resources employed at, or en route to, client sites, rather than on the company's premises. FSM most commonly refers to companies who need to manage installation, service or repairs of systems or equipment. + +Examples of field service use cases are: + +- In telecommunications and cable industry, technicians who install cable or run phone lines into residences or business establishments. +- In healthcare, mobile nurses who provide in-home care for elderly or disabled. +- In gas utilities, engineers who are dispatched to investigate and repair suspected leaks. +- In heavy engineering, mining, industrial and manufacturing, technicians dispatched for preventative maintenance and repair. +- In property maintenance, including landscaping, irrigation, and home and office cleaning. +- In HVAC industry, technicians have the expertise and equipment to investigate units in residential, commercial and industrial environments. -Odoo modules for field service management. [//]: # (addons) diff --git a/fieldservice/__manifest__.py b/fieldservice/__manifest__.py index cf03364090..c064afd129 100644 --- a/fieldservice/__manifest__.py +++ b/fieldservice/__manifest__.py @@ -9,6 +9,7 @@ 'author': 'Open Source Integrators, Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/field-service', 'depends': [ + 'base_geolocalize', 'mail', 'web_timeline', ], diff --git a/fieldservice/models/fsm_location.py b/fieldservice/models/fsm_location.py index b5f0cad13c..7c3f5a8f6d 100644 --- a/fieldservice/models/fsm_location.py +++ b/fieldservice/models/fsm_location.py @@ -13,6 +13,24 @@ class FSMLocation(models.Model): partner_id = fields.Many2one('res.partner', string='Related Partner', required=True, ondelete='restrict', auto_join=True) + owner_id = fields.Many2one('res.partner', string='Related Owner', + required=True, ondelete='restrict', + auto_join=True) + customer_id = fields.Many2one('res.partner', string='Related Customer', + required=True, ondelete='restrict', + auto_join=True) + tag_ids = fields.Many2many('fsm.tag', + string='Tags') + building = fields.Char(string='Building', size=35) + floor = fields.Char(string='Floor', size=35) + unit = fields.Char(string='Unit', size=35) + room = fields.Char(string='Room', size=35) + description = fields.Char(string='Description') + territory = fields.Char(string='Territory', size=35) + branch = fields.Char(string='Branch', size=35) + district = fields.Char(string='District', size=35) + region = fields.Char(string='Region', size=35) + timezone = fields.Char(string='Timezone', size=35) @api.model def create(self, vals): diff --git a/fieldservice/views/fsm_location.xml b/fieldservice/views/fsm_location.xml index 2545459669..0d9c95ed64 100644 --- a/fieldservice/views/fsm_location.xml +++ b/fieldservice/views/fsm_location.xml @@ -1,17 +1,26 @@ - + fsm.location.tree fsm.location + + + + + + + + + fsm.location.form fsm.location @@ -21,32 +30,104 @@ + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + fsm.location.search + fsm.location + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Service Locations fsm.location form tree,form +

Create a Service Locations.

-

- Module not yet enabled. -