diff --git a/website_sign_sending_by_priority/README.rst b/website_sign_sending_by_priority/README.rst new file mode 100644 index 000000000..f0a9507cb --- /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/15.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/15.0/legal/licenses.html#odoo-apps) + +Credits +------- +* Developer: (V15) Mohammed Dilshad Tk , 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..aea969610 --- /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: Mohammed Dilshad Tk (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..ca972ab45 --- /dev/null +++ b/website_sign_sending_by_priority/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (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': '15.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', + ], + '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..d8df23d86 --- /dev/null +++ b/website_sign_sending_by_priority/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 03.05.2024 +#### Version 15.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/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/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/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/categories.png b/website_sign_sending_by_priority/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/categories.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/check-box.png b/website_sign_sending_by_priority/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/check-box.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/compass.png b/website_sign_sending_by_priority/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/compass.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/corporate.png b/website_sign_sending_by_priority/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/corporate.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/customer-support.png b/website_sign_sending_by_priority/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/customer-support.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/cybrosys-logo.png b/website_sign_sending_by_priority/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/cybrosys-logo.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/features.png b/website_sign_sending_by_priority/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/features.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/logo.png b/website_sign_sending_by_priority/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/logo.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/pictures.png b/website_sign_sending_by_priority/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/pictures.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/pie-chart.png b/website_sign_sending_by_priority/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/pie-chart.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/right-arrow.png b/website_sign_sending_by_priority/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/right-arrow.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/star.png b/website_sign_sending_by_priority/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/star.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/support.png b/website_sign_sending_by_priority/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/support.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.png b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/misc/whatsapp.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/access_restriction_by_ip.png b/website_sign_sending_by_priority/static/description/assets/modules/access_restriction_by_ip.png new file mode 100755 index 000000000..707e2b7ed Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/access_restriction_by_ip.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/amazon_s3_connector.png b/website_sign_sending_by_priority/static/description/assets/modules/amazon_s3_connector.png new file mode 100644 index 000000000..c681a3f49 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/amazon_s3_connector.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/contact_documents.jpg b/website_sign_sending_by_priority/static/description/assets/modules/contact_documents.jpg new file mode 100644 index 000000000..56a6b5337 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/contact_documents.jpg differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/dropbox_integration.jpg b/website_sign_sending_by_priority/static/description/assets/modules/dropbox_integration.jpg new file mode 100644 index 000000000..7e45c32b0 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/dropbox_integration.jpg differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/size_restriction_for_attachments.png b/website_sign_sending_by_priority/static/description/assets/modules/size_restriction_for_attachments.png new file mode 100644 index 000000000..e62836a85 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/size_restriction_for_attachments.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/modules/web_login_styles.png b/website_sign_sending_by_priority/static/description/assets/modules/web_login_styles.png new file mode 100755 index 000000000..e20126a45 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/modules/web_login_styles.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..0bacf0e10 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/1img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/1img.png new file mode 100644 index 000000000..e3c5bfc07 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/1img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/2img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/2img.png new file mode 100644 index 000000000..95d9d6ecd Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/2img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/3img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/3img.png new file mode 100644 index 000000000..e7c5c7573 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/3img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/5img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/5img.png new file mode 100644 index 000000000..4306348f1 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/5img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/6img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/6img.png new file mode 100644 index 000000000..2eed54799 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/6img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/9img.png b/website_sign_sending_by_priority/static/description/assets/screenshots/9img.png new file mode 100644 index 000000000..4e611d79a Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/9img.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/img10.png b/website_sign_sending_by_priority/static/description/assets/screenshots/img10.png new file mode 100644 index 000000000..ee0dbc0a7 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/img10.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/img12.png b/website_sign_sending_by_priority/static/description/assets/screenshots/img12.png new file mode 100644 index 000000000..792ee5639 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/img12.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/img4.png b/website_sign_sending_by_priority/static/description/assets/screenshots/img4.png new file mode 100644 index 000000000..09eabd41d Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/img4.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/img8.png b/website_sign_sending_by_priority/static/description/assets/screenshots/img8.png new file mode 100644 index 000000000..b6ac23698 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/img8.png differ diff --git a/website_sign_sending_by_priority/static/description/assets/screenshots/v15-hero.gif b/website_sign_sending_by_priority/static/description/assets/screenshots/v15-hero.gif new file mode 100644 index 000000000..cb607e938 Binary files /dev/null and b/website_sign_sending_by_priority/static/description/assets/screenshots/v15-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..ad14cae6d 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..61a1668fd 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..b32f6c0d5 --- /dev/null +++ b/website_sign_sending_by_priority/static/description/index.html @@ -0,0 +1,687 @@ +
+ +
+ +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Website Sign Sending By Priority

+

+ Digital Signature in Odoo by Priority.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ Digital sign for Odoo is a brilliant idea to support paperless office + operations. As everything is automated, it helps to reduce the costs and + save + you important time because you don't need to visit each individual to + collect + a signature, and it reduces the manual errors also. It guarantees + document + security by sending the correct recipient. + This module helps to send the mail or document in a hierarchical + manner for signing the documents. In some cases, the sign is required by + the + sales manager before the warehouse manager. At that time, we can use + this module. + It's only sent after the priority-based +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + + The Module Required Odoo Enterprise Edition. + +
+
+ + Send the Document for Signing in a Hierarchical Manner. +
+
+ + You Can Set the Priority for Signing the Document. +
+
+ + You can reduce the manpower. +
+
+ + You can Reduce the Manual Errors. +
+
+ + Save Your Important Time for Collecting the Sign. +
+
+ + It Guaranteed the Document's Security +
+
+
+ + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Click UPLOAD A PDF TO SIGN +

+

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

+ +
+
+

+ Set the Signature field. +

+

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

+ +
+
+

+ Send mail. +

+

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

+ +
+
+

+ After sending. +

+ +
+
+

+ Send the mail to 1st person. +

+ +
+
+

+ Sign the 1st person. +

+ +
+
+

+ Send the mail to 2nd person. +

+ +
+
+

+ Sign the 2nd person. +

+ +
+
+

+ Send the mail to 3rd person. +

+ +
+
+

+ Sign the 3rd person. +

+ +
+
+

+ After signing all the signers. +

+ +
+
+
+ + +
+
+ +
+

+ Related + Products +

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

+ Our Services +

+
+
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Support
+
+
+
+ +
+
+ Hire + Odoo + Developer
+
+
+
+ +
+
+ Odoo + Integration
+
+
+
+ +
+
+ Odoo + Migration
+
+
+
+ +
+
+ Odoo + Consultancy
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ 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 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ 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..9f4f72b46 --- /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: Mohammed Dilshad Tk (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..6045e771e --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (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']) + 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'], + 'state': 'sent', + }) 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=self.follower_ids.ids) + return sign_request + + def send_request(self): + """Sending the request to the corresponding signers based on + the priority """ + request = self.create_request() + signers = [ + {'partner_id': signer.partner_id.id, 'role_id': signer.role_id.id, + 'priority': signer.priority} for signer in self.signer_ids] + for item in request.request_item_ids: + for each in signers: + if each['partner_id'] == item.partner_id.id and each['priority'] == 1: + request.send_signature_accesses() + item.is_mail_sent = True + 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..a9ae632bf --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request_signer.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (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 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..ce0134fcf --- /dev/null +++ b/website_sign_sending_by_priority/wizard/sign_send_request_views.xml @@ -0,0 +1,14 @@ + + + + + sign.send.request.view.form.inherit.website.sign.by.priority + sign.send.request + + + + + + + +