-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by brian10048
- Loading branch information
Showing
36 changed files
with
2,401 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
============== | ||
Base Territory | ||
============== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:09071d17d5056c5ee697dae92dc0974752c30247936f6c07c0c028731f350473 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Production/Stable | ||
.. |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/18.0/base_territory | ||
: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-18-0/field-service-18-0-base_territory | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/field-service&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows you to define territories, branches, districts and | ||
regions to be used for Field Service operations or Sales. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
1. Go to Settings > Users & Companies | ||
2. Define your territories, branches, districts and regions with their | ||
respective manager. | ||
|
||
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 to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20base_territory%0Aversion:%2018.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> | ||
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.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-max3903| image:: https://github.com/max3903.png?size=40px | ||
:target: https://github.com/max3903 | ||
:alt: max3903 | ||
.. |maintainer-brian10048| image:: https://github.com/brian10048.png?size=40px | ||
:target: https://github.com/brian10048 | ||
:alt: brian10048 | ||
|
||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-max3903| |maintainer-brian10048| | ||
|
||
This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/18.0/base_territory>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (C) 2020 Open Source Integrators | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Base Territory", | ||
"summary": "This module allows you to define territories, branches," | ||
" districts and regions to be used for Field Service operations or Sales.", | ||
"version": "18.0.1.0.0", | ||
"category": "Hidden", | ||
"author": "Open Source Integrators, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/field-service", | ||
"depends": ["base"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"views/res_territory.xml", | ||
"views/res_branch.xml", | ||
"views/res_district.xml", | ||
"views/res_region.xml", | ||
"views/res_country.xml", | ||
"views/menu.xml", | ||
], | ||
"demo": ["demo/base_territory_demo.xml"], | ||
"application": True, | ||
"license": "AGPL-3", | ||
"development_status": "Production/Stable", | ||
"maintainers": ["max3903", "brian10048"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<odoo noupdate="1"> | ||
<record id="test_region" model="res.region"> | ||
<field name="name">Test Region</field> | ||
</record> | ||
<record id="test_district" model="res.district"> | ||
<field name="name">Test District</field> | ||
<field name="region_id" eval="ref('test_region')" /> | ||
</record> | ||
<record id="test_branch" model="res.branch"> | ||
<field name="name">Test Branch</field> | ||
<field name="district_id" eval="ref('test_district')" /> | ||
</record> | ||
<record id="test_territory" model="res.territory"> | ||
<field name="name">Test Territory</field> | ||
<field name="branch_id" eval="ref('test_branch')" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_territory | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 17.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__branch_id | ||
#: model_terms:ir.ui.view,arch_db:base_territory.res_branch_form_view | ||
msgid "Branch" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__partner_id | ||
msgid "Branch Manager" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.actions.act_window,name:base_territory.action_res_branch | ||
#: model:ir.ui.menu,name:base_territory.menu_res_branch | ||
msgid "Branches" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model,name:base_territory.model_res_country | ||
#: model:ir.model.fields.selection,name:base_territory.selection__res_territory__type__country | ||
msgid "Country" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__country_ids | ||
msgid "Country Names" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__create_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__create_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__create_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__create_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__create_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__create_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model_terms:ir.ui.view,arch_db:base_territory.res_territory_form_view | ||
msgid "Definition" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__description | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__description | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__description | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__description | ||
msgid "Description" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__display_name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__display_name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__display_name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model,name:base_territory.model_res_district | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__district_id | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__district_id | ||
#: model_terms:ir.ui.view,arch_db:base_territory.res_district_form_view | ||
msgid "District" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__partner_id | ||
msgid "District Manager" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.actions.act_window,name:base_territory.action_res_district | ||
#: model:ir.ui.menu,name:base_territory.menu_res_district | ||
msgid "Districts" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__id | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__id | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__id | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__write_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__write_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__write_uid | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__write_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__write_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__write_date | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_branch__name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__name | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__name | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model,name:base_territory.model_res_region | ||
#: model:ir.model.fields,field_description:base_territory.field_res_district__region_id | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__region_id | ||
#: model_terms:ir.ui.view,arch_db:base_territory.res_region_form_view | ||
msgid "Region" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_region__partner_id | ||
msgid "Region Manager" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.actions.act_window,name:base_territory.action_res_region | ||
#: model:ir.model.fields,field_description:base_territory.field_res_country__region_ids | ||
#: model:ir.ui.menu,name:base_territory.menu_res_region | ||
msgid "Regions" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields.selection,name:base_territory.selection__res_territory__type__state | ||
msgid "State" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.actions.act_window,name:base_territory.action_res_territory | ||
#: model:ir.ui.menu,name:base_territory.menu_res_territory | ||
msgid "Territories" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model,name:base_territory.model_res_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_country__territory_id | ||
#: model_terms:ir.ui.view,arch_db:base_territory.res_territory_form_view | ||
msgid "Territory" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__type | ||
msgid "Type" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields,field_description:base_territory.field_res_territory__zip_codes | ||
msgid "ZIP Codes" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model.fields.selection,name:base_territory.selection__res_territory__type__zip | ||
msgid "Zip" | ||
msgstr "" | ||
|
||
#. module: base_territory | ||
#: model:ir.model,name:base_territory.model_res_branch | ||
msgid "branch" | ||
msgstr "" |
Oops, something went wrong.