Skip to content

Commit

Permalink
[ADD] redcors team handler
Browse files Browse the repository at this point in the history
[ADD] fieldservice 0.0.1 (#2)

[UPD] addons table in README.md [ci skip]

[UPD] README.rst

[ADD] setup.py

REDCOR.md should list redcor enhancements

[IMP] README: explain what is FSM

[ADD] Vehicle (OCA#23)

* [ADD] Vehicle

[OCA]12567 Location structure needs to reflect hierarchy of Buildings (OCA#22)

* [IMP] Extend fsm.location object

[UPD] README.rst

[FIX] View

[ADD] red_fsm base, team handler

Option for enabling the red_fsm teams, new mwnu added under fieldservice settings to use red_fsm teams.

Removed incomplete method

[ADD] stages and stage sets

add website_support module

change module structure

[removed] remove website_support module, modified labels for fields and menu

modifications, cleaned code

Advanced stage transitions, option to add stage transitions for the stage sets

Tickets base. Support ticket base form, mail notification to employees and customers, etc

team: basic skills, person basic skills. Tickets: ticket from website

adjusted indentation

added plone code as a sample

team handler
  • Loading branch information
max3903 authored and robertrottermann committed Oct 16, 2018
0 parents commit a6806d2
Show file tree
Hide file tree
Showing 70 changed files with 3,019 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
languages:
JavaScript: true
Python: true
exclude_paths:
- "__unported__/*"
- "*/__openerp__.py" # because this is fed to eval
- "*/__manifest__.py"
- "*/migrations/*" # without OpenUpgrade, repetitions can be necessary
76 changes: 76 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Project specific

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
*.eggs

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo
*.pot

# Pycharm
.idea

# Eclipse
.settings

# Visual Studio cache/options directory
.vs/
.vscode

# OSX Files
.DS_Store

# Django stuff:
*.log

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Rope
.ropeproject

# Sphinx documentation
docs/_build/

# Backup files
*~
*.swp

# OCA rules
!static/lib/
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip

python:
- "3.5"

addons:
postgresql: "9.5"
apt:
packages:
- expect-dev # provides unbuffer utility

env:
global:
- VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- PHANTOMJS_VERSION="latest"

matrix:
- LINT_CHECK="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"

install:
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly

script:
- travis_run_tests

after_success:
- travis_after_tests_success
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OCA Guidelines

Please follow the official guide from the [OCA Guidelines page](https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md).

## Project Specific Guidelines

This project does not have specific coding guidelines.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[![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 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.


[//]: # (addons)

Available addons
----------------
addon | version | summary
--- | --- | ---
[fieldservice](fieldservice/) | 11.0.0.0.1 | Locations, Orders, Calls

[//]: # (end addons)

----

OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
Empty file added REDCOR.md
Empty file.
122 changes: 122 additions & 0 deletions fieldservice/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
=============
Field Service
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffield--service-lightgray.png?logo=github
:target: https://github.com/OCA/field-service/tree/11.0/fieldservice
:alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/field-service-11-0/field-service-11-0-fieldservice
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/264/11.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module is the base of the Field Service application in Odoo.

**Table of contents**

.. contents::
:local:

Installation
============

You need to install:

* PostGIS

Configuration
=============

To configure this module, you need to:

* Go to Field Service > Configuration > Settings

Usage
=====

To use this module, you need to:

* Go to Field Service
* Create or select an order
* Follow the process

Known issues / Roadmap
======================

The roadmap of the Field Service application is documented on
`Github <https://github.com/OCA/field-service/issues/1>`_.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/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 <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* Wolfgang Hall <whall@opensourceintegrators.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Steve Campbell <scampbell@opensourceintegrators.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Open Source Integrators <https://opensourceintegrators.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-wolfhall| image:: https://github.com/wolfhall.png?size=40px
:target: https://github.com/wolfhall
:alt: wolfhall
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-wolfhall| |maintainer-max3903|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/11.0/fieldservice>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions fieldservice/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
42 changes: 42 additions & 0 deletions fieldservice/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Field Service',
'summary': 'Locations, Orders, Calls',
'version': '11.0.0.0.1',
'category': 'Field Service',
'author': 'Open Source Integrators, Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/field-service',
'depends': [
'base_geolocalize',
'mail',
'web_timeline',
],
'data': [
'data/ir_sequence.xml',
'data/mail_message_subtype.xml',
'data/module_category.xml',
'data/fsm_stage.xml',
'security/res_groups.xml',
'security/ir.model.access.csv',
'views/res_config_settings.xml',
'views/fsm_stage.xml',
'views/fsm_tag.xml',
'views/res_partner.xml',
'views/fsm_location.xml',
'views/fsm_person.xml',
'views/fsm_vehicle.xml',
'views/fsm_order.xml',
'views/fsm_route.xml',
'views/menu.xml',
'wizard/fsm_wizard.xml',
],
'application': True,
'license': 'AGPL-3',
'development_status': 'Beta',
'maintainers': [
'wolfhall',
'max3903',
],
}
49 changes: 49 additions & 0 deletions fieldservice/data/fsm_stage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="fsm_stage_new" model="fsm.stage">
<field name="name">New</field>
<field name="sequence">10</field>
</record>

<record id="fsm_stage_confirmed" model="fsm.stage">
<field name="name">Confirmed</field>
<field name="sequence">20</field>
</record>

<record id="fsm_stage_scheduled" model="fsm.stage">
<field name="name">Scheduled</field>
<field name="sequence">30</field>
</record>

<record id="fsm_stage_assigned" model="fsm.stage">
<field name="name">Assigned</field>
<field name="sequence">40</field>
</record>

<record id="fsm_stage_planned" model="fsm.stage">
<field name="name">Planned</field>
<field name="sequence">50</field>
</record>

<record id="fsm_stage_enroute" model="fsm.stage">
<field name="name">En Route</field>
<field name="sequence">60</field>
</record>

<record id="fsm_stage_started" model="fsm.stage">
<field name="name">Started</field>
<field name="sequence">70</field>
</record>

<record id="fsm_stage_completed" model="fsm.stage">
<field name="name">Completed</field>
<field name="sequence">80</field>
</record>

<record id="fsm_stage_cancelled" model="fsm.stage">
<field name="name">Cancelled</field>
<field name="sequence">100</field>
<field name="fold">True</field>
</record>
</odoo>
Loading

0 comments on commit a6806d2

Please sign in to comment.