Maintainers
+Maintainers
This module is maintained by the OCA.
@@ -538,6 +533,5 @@ diff --git a/sign_oca/README.rst b/sign_oca/README.rst index d318a0fc..ff0cb297 100644 --- a/sign_oca/README.rst +++ b/sign_oca/README.rst @@ -1,7 +1,3 @@ -.. image:: https://odoo-community.org/readme-banner-image - :target: https://odoo-community.org/get-involved?utm_source=readme - :alt: Odoo Community Association - ======== Sign Oca ======== @@ -17,7 +13,7 @@ Sign Oca .. |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/license-AGPL--3-blue.png +.. |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%2Fsign-lightgray.png?logo=github diff --git a/sign_oca/__manifest__.py b/sign_oca/__manifest__.py index 4d14c8fc..92d202df 100644 --- a/sign_oca/__manifest__.py +++ b/sign_oca/__manifest__.py @@ -18,6 +18,7 @@ "data/ir_sequence_data.xml", "wizards/sign_oca_template_generate.xml", "wizards/sign_oca_template_generate_multi.xml", + "wizards/share.xml", "views/res_partner_views.xml", "views/sign_oca_request_log.xml", "views/sign_oca_request.xml", diff --git a/sign_oca/models/sign_oca_request.py b/sign_oca/models/sign_oca_request.py index 26c3c875..94f19f51 100644 --- a/sign_oca/models/sign_oca_request.py +++ b/sign_oca/models/sign_oca_request.py @@ -307,6 +307,16 @@ def action_send_signed_request(self): attachment_ids=attachments.ids, ) + def action_open_share_wizard(self): + return { + "name": "Share Sign Request", + "type": "ir.actions.act_window", + "res_model": "sign.request.share.wizard", + "view_mode": "form", + "target": "new", + "context": {"default_request_id": self.id}, + } + def _check_signed(self): self.ensure_one() if self.state != "0_sent": diff --git a/sign_oca/security/ir.model.access.csv b/sign_oca/security/ir.model.access.csv index a7530d69..fd04a128 100644 --- a/sign_oca/security/ir.model.access.csv +++ b/sign_oca/security/ir.model.access.csv @@ -17,3 +17,4 @@ edit_sign_generate_signer,edit_sign_generate_signer,model_sign_oca_template_gene edit_sign_generate_multi,edit_sign_generate_multi,model_sign_oca_template_generate_multi,sign_oca_group_user,1,1,1,1 access_sign_request_log,access_sign_request_log,model_sign_oca_request_log,sign_oca_group_user,1,0,0,0 access_sign_request_log_admin,access_sign_request_log_admin,model_sign_oca_request_log,sign_oca_group_admin,1,1,1,1 +access_sign_request_share_wizard,access_sign_request_share_wizard,model_sign_request_share_wizard,sign_oca_group_admin,1,1,1,1 diff --git a/sign_oca/static/description/index.html b/sign_oca/static/description/index.html index b0f76ce9..b25b0f15 100644 --- a/sign_oca/static/description/index.html +++ b/sign_oca/static/description/index.html @@ -3,7 +3,7 @@
-This module allows to create documents for signature inside Odoo using OWL.
Table of contents
@@ -403,7 +398,7 @@There is a wizard (sign.oca.template.generate.multi) that can be used for any model needed. If there is a template without a linked model or linked to a model (res.partner for example) an action will be @@ -411,9 +406,9 @@
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 to smash it by providing a detailed and welcomed @@ -501,15 +496,15 @@
Do not contact contributors directly about support or help with technical issues.