diff --git a/website_sign_sending_by_priority/README.rst b/website_sign_sending_by_priority/README.rst new file mode 100644 index 000000000..f95573175 --- /dev/null +++ b/website_sign_sending_by_priority/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-OPL--1-red.svg + :target: https://www.odoo.com/documentation/17.0/legal/licenses.html#odoo-apps + :alt: License: OPL-1 + +Website Sign Sending By Priority +================================= +This module helps to send the mail or document in a hierarchical +manner for signing the documents. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- + +Odoo Proprietary License v1.0 (OPL-1) +(https://www.odoo.com/documentation/16.0/legal/licenses.html#odoo-apps) + +Credits +------- +* Developer: (V17) Ammu Raj , Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/website_sign_sending_by_priority/__init__.py b/website_sign_sending_by_priority/__init__.py new file mode 100644 index 000000000..c7a20a921 --- /dev/null +++ b/website_sign_sending_by_priority/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License +# v1.0 (OPL-1). It is forbidden to publish, distribute, sublicense, or sell +# copies of the Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +############################################################################### +from . import wizard diff --git a/website_sign_sending_by_priority/__manifest__.py b/website_sign_sending_by_priority/__manifest__.py new file mode 100644 index 000000000..64610fe58 --- /dev/null +++ b/website_sign_sending_by_priority/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License +# v1.0 (OPL-1). It is forbidden to publish, distribute, sublicense, or sell +# copies of the Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +############################################################################### +{ + 'name': 'Website Sign Sending By Priority', + 'version': '17.0.1.0.0', + 'category': 'Document Management', + 'summary': 'Digital Signature In Odoo by Priority', + 'description': 'This system ensures document security by sending files to' + 'the correct recipients and enables hierarchical signing, ' + 'prioritizing signatures based on roles, such as obtaining' + 'approval from a sales manager before a warehouse manager.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sign'], + 'data': ['wizard/sign_send_request_views.xml'], + 'assets': { + 'web.assets_backend': [ + 'website_sign_sending_by_priority/static/src/js/signer_x2many.js', + 'website_sign_sending_by_priority/static/src/xml/signer_x2many.xml', + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'OPL-1', + 'installable': True, + 'application': False, + 'auto_install': False +} diff --git a/website_sign_sending_by_priority/doc/RELEASE_NOTES.md b/website_sign_sending_by_priority/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..c82195391 --- /dev/null +++ b/website_sign_sending_by_priority/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 27.03.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial Commit for Website Sign Sending By Priority. diff --git a/website_sign_sending_by_priority/static/description/assets/icons/capture (1).png b/website_sign_sending_by_priority/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/capture (1).png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/check.png b/website_sign_sending_by_priority/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/check.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/chevron.png b/website_sign_sending_by_priority/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/chevron.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/cogs.png b/website_sign_sending_by_priority/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/cogs.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/consultation.png b/website_sign_sending_by_priority/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/consultation.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/ecom-black.png b/website_sign_sending_by_priority/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/ecom-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/education-black.png b/website_sign_sending_by_priority/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/education-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/hotel-black.png b/website_sign_sending_by_priority/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/hotel-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/img.png b/website_sign_sending_by_priority/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/license.png b/website_sign_sending_by_priority/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/license.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/lifebuoy.png b/website_sign_sending_by_priority/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/lifebuoy.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/manufacturing-black.png b/website_sign_sending_by_priority/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/photo-capture.png b/website_sign_sending_by_priority/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/photo-capture.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/pos-black.png b/website_sign_sending_by_priority/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/pos-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/puzzle.png b/website_sign_sending_by_priority/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/puzzle.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/restaurant-black.png b/website_sign_sending_by_priority/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/restaurant-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/service-black.png b/website_sign_sending_by_priority/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/service-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/trading-black.png b/website_sign_sending_by_priority/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/trading-black.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/training.png b/website_sign_sending_by_priority/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/training.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/update.png b/website_sign_sending_by_priority/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/update.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/user.png b/website_sign_sending_by_priority/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/user.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/icons/wrench.png b/website_sign_sending_by_priority/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/icons/wrench.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/Cybrosys R.png b/website_sign_sending_by_priority/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/Cybrosys R.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/email.svg b/website_sign_sending_by_priority/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/phone.svg b/website_sign_sending_by_priority/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/star (1) 2.svg b/website_sign_sending_by_priority/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/support (1) 1.svg b/website_sign_sending_by_priority/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/support-email.svg b/website_sign_sending_by_priority/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/tick-mark.svg b/website_sign_sending_by_priority/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/whatsapp 1.svg b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.svg b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sign_sending_by_priority/static/description/assets/modules/1.png b/website_sign_sending_by_priority/static/description/assets/modules/1.png new file mode 100644 index 000000000..7b687d6f0 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/1.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/2.png b/website_sign_sending_by_priority/static/description/assets/modules/2.png new file mode 100644 index 000000000..7caa52b55 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/2.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/3.png b/website_sign_sending_by_priority/static/description/assets/modules/3.png new file mode 100644 index 000000000..2180bfe54 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/3.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/4.png b/website_sign_sending_by_priority/static/description/assets/modules/4.png new file mode 100644 index 000000000..6aba43cd1 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/4.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/5.png b/website_sign_sending_by_priority/static/description/assets/modules/5.png new file mode 100644 index 000000000..063aa0fc2 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/5.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/6.png b/website_sign_sending_by_priority/static/description/assets/modules/6.png new file mode 100644 index 000000000..83ea4ac42 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/6.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/1.png b/website_sign_sending_by_priority/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..e2171272f Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/1.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/10.png b/website_sign_sending_by_priority/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..b7941fc5e Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/10.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/11.png b/website_sign_sending_by_priority/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..0862afd12 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/11.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/2.png b/website_sign_sending_by_priority/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..6c1f07645 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/2.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/3.png b/website_sign_sending_by_priority/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..bf2ccd08d Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/3.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/4.png b/website_sign_sending_by_priority/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..7f4e3b813 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/4.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/5.png b/website_sign_sending_by_priority/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..9490d993b Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/5.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/6.png b/website_sign_sending_by_priority/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..b05992542 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/6.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/7.png b/website_sign_sending_by_priority/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..605813665 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/7.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/8.png b/website_sign_sending_by_priority/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..2c91df0cd Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/8.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/9.png b/website_sign_sending_by_priority/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..a417eb14b Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/9.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/hero.gif b/website_sign_sending_by_priority/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..f8cc86172 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/hero.gif differ diff --git a/website_sign_sending_by_priority/static/description/banner.png b/website_sign_sending_by_priority/static/description/banner.png new file mode 100644 index 000000000..f259f5e7e Binary files /dev/null and b/website_sign_sending_by_priority/static/description/banner.png differ diff --git a/website_sign_sending_by_priority/static/description/icon.png b/website_sign_sending_by_priority/static/description/icon.png new file mode 100644 index 000000000..7157be7f8 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/icon.png differ diff --git a/website_sign_sending_by_priority/static/description/index.html b/website_sign_sending_by_priority/static/description/index.html new file mode 100644 index 000000000..b73fa1002 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/index.html @@ -0,0 +1,835 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Website Sign Sending By Priority

+

+ Digital Signature in Odoo by Priority. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ The Module Required Odoo Enterprise Edition.

+
+
+
+
+
+
+ +
+
+

+ Send the Document for Signing in a Hierarchical Manner.

+
+
+
+
+
+
+
+
+ +
+
+

+ You Can Set the Priority for Signing the Document.

+
+
+
+
+
+
+ +
+
+

+ It Guaranteed the Document's Security.

+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+
+

+ Go to Sign module -> Click the UPLOAD A PDF TO SIGN -> Then upload to a document. +

+
+
+
+
+
+
+ +
+
+

+ Drag and drop the Signature field into the PDF then set the signers and SEND it. +

+
+
+
+
+
+
+ +
+
+

+ Here set the signers mail and the Priority, then click the 'SEND' button to send the mail. +

+
+
+
+
+
+
+ +
+
+

+ After sending. +

+
+
+
+
+
+
+ +
+
+

+ Mail is received by the first Person. +

+
+
+
+
+
+
+ +
+
+

+ First Person Signing. +

+
+
+
+
+
+
+ +
+
+

+ After the validation of 1st Person the mail is Received by the 2nd Person. +

+
+
+
+
+
+
+ +
+
+

+ The 2nd Person Signing. +

+
+
+
+
+
+
+ +
+
+

+ Mail is Received by the 3rd Person. +

+
+
+
+
+
+
+ +
+
+

+ The 3rd Person is Signing. +

+
+
+
+
+
+
+ +
+
+

+ After signing all the signers. +

+
+
+
+
+
+
+
    +
  • + You Can Set the Priority for Signing the Document. +
  • +
  • + Send the Document for Signing in a Hierarchical Manner. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:1st April 2024 +
+

+ + Initial Commit for Website Sign Sending By Priority

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/website_sign_sending_by_priority/static/src/js/signer_x2many.js b/website_sign_sending_by_priority/static/src/js/signer_x2many.js new file mode 100644 index 000000000..856ad47af --- /dev/null +++ b/website_sign_sending_by_priority/static/src/js/signer_x2many.js @@ -0,0 +1,39 @@ +/** @odoo-module **/ +import { registry } from "@web/core/registry"; +import { _t } from "@web/core/l10n/translation"; +import { SignerX2Many } from "@sign/fields/signer_x2many"; +//Extended SignerX2Many widget of the field signer_ids and created new widget, +//because we cant add the field to the existing widget +export class SignerX2ManyWithPriority extends SignerX2Many { + static template = "website_sign_sending_by_priority.SignerX2ManyWithPriority"; + static components = { + ...SignerX2Many.components, + }; + + get priorityFieldInfo() { + return { + name: "priority", + additionalProps: { + readonly: false, + }, + }; + } +} + +const signerX2ManyWithPriority = { + component: SignerX2ManyWithPriority, + displayName: _t("Signer One 2 Many with Priority"), + additionalClasses: ["o_required_modifier"], + supportedTypes: ["one2many"], + relatedFields: () => { + return [ + { name: "role_id", type: "many2one", relation: "sign.item.role", readonly: false }, + { name: "partner_id", type: "many2one", relation: "res.partner", readonly: false }, + { name: "priority", type: "integer", readonly: false }, + { name: "mail_sent_order", type: "integer", readonly: false }, + ]; + }, + fieldDependencies: [{ name: "set_sign_order", type: "boolean" }], +}; + +registry.category("fields").add("signer_x2many_with_priority", signerX2ManyWithPriority); diff --git a/website_sign_sending_by_priority/static/src/xml/signer_x2many.xml b/website_sign_sending_by_priority/static/src/xml/signer_x2many.xml new file mode 100644 index 000000000..3d0737e32 --- /dev/null +++ b/website_sign_sending_by_priority/static/src/xml/signer_x2many.xml @@ -0,0 +1,31 @@ + + + + +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
diff --git a/website_sign_sending_by_priority/wizard/__init__.py b/website_sign_sending_by_priority/wizard/__init__.py new file mode 100644 index 000000000..797f65035 --- /dev/null +++ b/website_sign_sending_by_priority/wizard/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ammu raj (odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License +# v1.0 (OPL-1). It is forbidden to publish, distribute, sublicense, or sell +# copies of the Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +############################################################################### +from . import sign_send_request +from . import sign_send_request_signer diff --git a/website_sign_sending_by_priority/wizard/sign_send_request.py b/website_sign_sending_by_priority/wizard/sign_send_request.py new file mode 100644 index 000000000..42017a508 --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License +# v1.0 (OPL-1). It is forbidden to publish, distribute, sublicense, or sell +# copies of the Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +############################################################################### +from odoo import Command, models +from odoo.exceptions import ValidationError + + +class SignSendRequest(models.TransientModel): + """Inheriting the model and a field""" + _inherit = 'sign.send.request' + + def create_request(self): + """Creating the request based on the signers""" + template_id = self.template_id.id + signers = [ + {'partner_id': signer.partner_id.id, 'role_id': signer.role_id.id, + 'priority': signer.priority} for signer in self.signer_ids] + # Check for duplicate priorities + priority_set = set() + for signer in signers: + if signer['priority'] in priority_set: + raise ValidationError("Duplicate priority found. Please set") + priority_set.add(signer['priority']) + # Sort signers based on priority + signers = sorted(signers, key=lambda x: x['priority']) + # Assign mail_sent_order and create the sign request + for index, signer in enumerate(signers): + signer['mail_sent_order'] = index + 1 + cc_partner_ids = self.cc_partner_ids.ids + sign_request = self.env['sign.request'].create({ + 'template_id': template_id, + 'request_item_ids': [Command.create({ + 'partner_id': signer['partner_id'], + 'role_id': signer['role_id'], + 'mail_sent_order': signer['mail_sent_order'], + }) for signer in signers], + 'reference': self.filename, + 'subject': self.subject, + 'message': self.message, + 'message_cc': self.message_cc, + 'attachment_ids': [Command.set(self.attachment_ids.ids)], + }) + sign_request.message_subscribe(partner_ids=cc_partner_ids) + return sign_request + + def send_request(self): + """Sending the request to the corresponding signers based on + the priority """ + request = self.create_request() + current_signer = self.signer_ids.filtered( + lambda s: s.partner_id == self.env.user.partner_id) + if current_signer.priority == 1: + if self.activity_id: + self._activity_done() + return {'type': 'ir.actions.act_window_close'} + return request.go_to_document() + else: + return request.go_to_document() diff --git a/website_sign_sending_by_priority/wizard/sign_send_request_signer.py b/website_sign_sending_by_priority/wizard/sign_send_request_signer.py new file mode 100644 index 000000000..802d654dc --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request_signer.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License +# v1.0 (OPL-1). It is Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +############################################################################### +from odoo import fields, models + + +class SignSendRequestSigner(models.TransientModel): + """Inheriting the model and add the priority field to manage the sign + sending priority""" + _inherit = 'sign.send.request.signer' + + priority = fields.Integer(string='Priority', + help='Setting the priority of the mail send ' + 'to the signers.') diff --git a/website_sign_sending_by_priority/wizard/sign_send_request_views.xml b/website_sign_sending_by_priority/wizard/sign_send_request_views.xml new file mode 100644 index 000000000..b7dd68bec --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request_views.xml @@ -0,0 +1,17 @@ + + + + + + sign.send.request.view.form.inherit.website.sign.by.priority + + sign.send.request + + + + signer_x2many_with_priority + + + +