Skip to content

Commit

Permalink
[IMP] fieldservice: Minimize partner_fax dependency
Browse files Browse the repository at this point in the history
Added a separate module to retain the partner_fax feature and eliminated the dependency from the base fieldservice module
  • Loading branch information
brian10048 committed Jan 18, 2021
1 parent fedc277 commit f10811d
Show file tree
Hide file tree
Showing 13 changed files with 660 additions and 8 deletions.
8 changes: 1 addition & 7 deletions fieldservice/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
"category": "Field Service",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": [
"base_territory",
"base_geolocalize",
"resource",
"contacts",
"partner_fax",
],
"depends": ["base_territory", "base_geolocalize", "resource", "contacts"],
"data": [
"data/ir_sequence.xml",
"data/mail_message_subtype.xml",
Expand Down
1 change: 0 additions & 1 deletion fieldservice/views/fsm_location.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
context="{'default_service_location_id': active_id, 'default_street': street, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id}"
/>
<field name="phone" widget="phone" />
<field name="fax" widget="phone" />
<field name="email" widget="email" />
<label for="street" string="Address" />
<div class="o_address_format">
Expand Down
94 changes: 94 additions & 0 deletions fieldservice_partner_fax/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
===========================
Field Service - Partner Fax
===========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/13.0/fieldservice_partner_fax
: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-13-0/field-service-13-0-fieldservice_partner_fax
: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/13.0
:alt: Try me on Runbot

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

This module allows you to manage a partner's fax number from the field service location screen.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to Field Service
#. Go to Master Data > Locations
#. Create or Edit a Location
#. The Fax field will be available

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_partner_fax%0Aversion:%2013.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
~~~~~~~~~~~~

* Brian McMaster <brian@mcmpest.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-brian10048| image:: https://github.com/brian10048.png?size=40px
:target: https://github.com/brian10048
:alt: brian10048
.. |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-brian10048| |maintainer-max3903|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
18 changes: 18 additions & 0 deletions fieldservice_partner_fax/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (C) 2021 Brian McMaster
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service - Partner Fax",
"summary": "This module allows you to manage a partner's fax number"
" from the field service location screen.",
"version": "13.0.1.0.0",
"category": "Hidden",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": ["fieldservice", "partner_fax"],
"data": ["views/fsm_location.xml"],
"application": True,
"license": "AGPL-3",
"development_status": "Beta",
"maintainers": ["brian10048", "max3903"],
}
1 change: 1 addition & 0 deletions fieldservice_partner_fax/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Brian McMaster <brian@mcmpest.com>
2 changes: 2 additions & 0 deletions fieldservice_partner_fax/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module allows you to manage a partner's fax number from the
field service location screen.
6 changes: 6 additions & 0 deletions fieldservice_partner_fax/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To use this module, you need to:

#. Go to Field Service
#. Go to Master Data > Locations
#. Create or Edit a Location
#. The Fax field will be available
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f10811d

Please sign in to comment.