Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] fieldservice_skill remove missing field, add missing view #15

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fieldservice_skill/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
{
"name": "Field Service - Skills",
"summary": "Manage your Field Service workers skills",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"category": "Field Service",
"license": "AGPL-3",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": ["hr_skill", "fieldservice"],
"depends": ["hr_skills", "fieldservice"],
"data": [
"security/ir.model.access.csv",
"views/fsm_person.xml",
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_skill/models/fsm_category.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2018, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_skill/models/fsm_order.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2018, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import api, fields, models
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_skill/models/fsm_person.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2018, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_skill/models/fsm_person_skill.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2018, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_skill/models/fsm_template.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2018, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models
Expand Down
2 changes: 2 additions & 0 deletions fieldservice_skill/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
* Wolfgang Hall <whall@opensourceintegrators.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Steve Campbell <scampbell@opensourceintegrators.com>
* Raphael Lee <rlee@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Brian McMaster <brian@mcmpest.com>
2 changes: 1 addition & 1 deletion fieldservice_skill/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
To install Field Service and have the mapping features, you need to install GeoEngine.

Please refer to the installation instructions available at:
https://github.com/OCA/geospatial/tree/12.0/base_geoengine
https://github.com/OCA/geospatial/tree/13.0/base_geoengine
6 changes: 1 addition & 5 deletions fieldservice_skill/views/fsm_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
<field name="inherit_id" ref="fieldservice.fsm_order_form" />
<field name="arch" type="xml">
<field name="category_ids" position="after">
<field
name="skill_ids"
widget="many2many_tags"
options="{'color_field': 'color'}"
/>
<field name="skill_ids" widget="many2many_tags" />
</field>
</field>
</record>
Expand Down
2 changes: 0 additions & 2 deletions fieldservice_skill/views/fsm_person_skill.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<field name="name">Worker Skills</field>
<field name="res_model">fsm.person.skill</field>
<field name="view_id" ref="fsm_person_skill_tree" />
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Expand Down Expand Up @@ -75,7 +74,6 @@
<record id="action_fsm_person_skill_report" model="ir.actions.act_window">
<field name="name">Worker Skills</field>
<field name="res_model">fsm.person.skill</field>
<field name="view_type">form</field>
<field name="view_mode">graph,pivot</field>
<field name="help" type="html">
<p>
Expand Down
6 changes: 1 addition & 5 deletions fieldservice_skill/views/fsm_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
<field name="inherit_id" ref="fieldservice.fsm_template_form_view" />
<field name="arch" type="xml">
<field name="category_ids" position="after">
<field
name="skill_ids"
widget="many2many_tags"
options="{'color_field': 'color'}"
/>
<field name="skill_ids" widget="many2many_tags" />
</field>
</field>
</record>
Expand Down
7 changes: 6 additions & 1 deletion fieldservice_skill/views/hr_skill.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="open_view_skill_form" model="ir.actions.act_window">
<field name="name">Skills</field>
<field name="res_model">hr.skill</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_hr_skill"
name="Skills"
action="hr_skill.open_view_skill_form"
action="open_view_skill_form"
parent="fieldservice.menu_fsm_config_person"
sequence="80"
/>
Expand Down