diff --git a/sale_operating_unit_access_all/README.rst b/sale_operating_unit_access_all/README.rst new file mode 100644 index 0000000000..35f6f11035 --- /dev/null +++ b/sale_operating_unit_access_all/README.rst @@ -0,0 +1,96 @@ +=========================== +Access all OUs' Sale Orders +=========================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Foperating--unit-lightgray.png?logo=github + :target: https://github.com/OCA/operating-unit/tree/15.0/sale_operating_unit_access_all + :alt: OCA/operating-unit +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/operating-unit-15-0/operating-unit-15-0-sale_operating_unit_access_all + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/213/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allow a user to have Access all OUs' sale orders, +without having to add OUs in user setting. + +Example use case, a shared sale team under an OU +but need to work on sale orders of all OUs. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + + +To configure a user to have access to all OUs' sale orders (without all OUs access): + +* Go to *Settings / Users & Companies / Users* +* For a user, select checkbox "Access all OUs' sale orders" + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Ecosoft + +Contributors +~~~~~~~~~~~~ + +* `Ecosoft `__: + + * Pimolnat Suntian + +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-ps-tubtim| image:: https://github.com/ps-tubtim.png?size=40px + :target: https://github.com/ps-tubtim + :alt: ps-tubtim + +Current `maintainer `__: + +|maintainer-ps-tubtim| + +This module is part of the `OCA/operating-unit `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_operating_unit_access_all/__init__.py b/sale_operating_unit_access_all/__init__.py new file mode 100644 index 0000000000..c71289ab17 --- /dev/null +++ b/sale_operating_unit_access_all/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/sale_operating_unit_access_all/__manifest__.py b/sale_operating_unit_access_all/__manifest__.py new file mode 100644 index 0000000000..0c158f7ee2 --- /dev/null +++ b/sale_operating_unit_access_all/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2022 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Access all OUs' Sale Orders", + "version": "15.0.1.0.0", + "author": "Ecosoft, Odoo Community Association (OCA)", + "category": "Sale Management", + "license": "AGPL-3", + "website": "https://github.com/OCA/operating-unit", + "depends": ["sale_operating_unit"], + "data": [ + "security/sale_security.xml", + ], + "installable": True, + "maintainers": ["ps-tubtim"], +} diff --git a/sale_operating_unit_access_all/readme/CONFIGURE.rst b/sale_operating_unit_access_all/readme/CONFIGURE.rst new file mode 100644 index 0000000000..9e3461bc12 --- /dev/null +++ b/sale_operating_unit_access_all/readme/CONFIGURE.rst @@ -0,0 +1,5 @@ + +To configure a user to have access to all OUs' sale orders (without all OUs access): + +* Go to *Settings / Users & Companies / Users* +* For a user, select checkbox "Access all OUs' sale orders" diff --git a/sale_operating_unit_access_all/readme/CONTRIBUTORS.rst b/sale_operating_unit_access_all/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..ea63aa7bc1 --- /dev/null +++ b/sale_operating_unit_access_all/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `Ecosoft `__: + + * Pimolnat Suntian diff --git a/sale_operating_unit_access_all/readme/DESCRIPTION.rst b/sale_operating_unit_access_all/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..afc47c92cc --- /dev/null +++ b/sale_operating_unit_access_all/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +This module allow a user to have Access all OUs' sale orders, +without having to add OUs in user setting. + +Example use case, a shared sale team under an OU +but need to work on sale orders of all OUs. diff --git a/sale_operating_unit_access_all/security/sale_security.xml b/sale_operating_unit_access_all/security/sale_security.xml new file mode 100644 index 0000000000..073f00d673 --- /dev/null +++ b/sale_operating_unit_access_all/security/sale_security.xml @@ -0,0 +1,16 @@ + + + + Access all OUs' sale orders + + + + + + + + diff --git a/sale_operating_unit_access_all/static/description/icon.png b/sale_operating_unit_access_all/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/sale_operating_unit_access_all/static/description/icon.png differ diff --git a/sale_operating_unit_access_all/static/description/index.html b/sale_operating_unit_access_all/static/description/index.html new file mode 100644 index 0000000000..6c7f69d09c --- /dev/null +++ b/sale_operating_unit_access_all/static/description/index.html @@ -0,0 +1,436 @@ + + + + + + +Access all OUs' Sale Orders + + + +
+

Access all OUs’ Sale Orders

+ + +

Beta License: AGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

+

This module allow a user to have Access all OUs’ sale orders, +without having to add OUs in user setting.

+

Example use case, a shared sale team under an OU +but need to work on sale orders of all OUs.

+

Table of contents

+ +
+

Configuration

+

To configure a user to have access to all OUs’ sale orders (without all OUs access):

+
    +
  • Go to Settings / Users & Companies / Users
  • +
  • For a user, select checkbox “Access all OUs’ sale orders”
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Ecosoft
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

ps-tubtim

+

This module is part of the OCA/operating-unit project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/setup/sale_operating_unit_access_all/odoo/addons/sale_operating_unit_access_all b/setup/sale_operating_unit_access_all/odoo/addons/sale_operating_unit_access_all new file mode 120000 index 0000000000..abbceb0802 --- /dev/null +++ b/setup/sale_operating_unit_access_all/odoo/addons/sale_operating_unit_access_all @@ -0,0 +1 @@ +../../../../sale_operating_unit_access_all \ No newline at end of file diff --git a/setup/sale_operating_unit_access_all/setup.py b/setup/sale_operating_unit_access_all/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/sale_operating_unit_access_all/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)