diff --git a/contract_manual_security/README.rst b/contract_manual_security/README.rst new file mode 100644 index 000000000..aaa0deacc --- /dev/null +++ b/contract_manual_security/README.rst @@ -0,0 +1,64 @@ +======================== +Contract Manual Security +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:39e7a7b17a56ba2d593bbbfce035d0c757d26eaae3abfc6000d763af1d7165c4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-NuoBiT%2Fodoo--addons-lightgray.png?logo=github + :target: https://github.com/NuoBiT/odoo-addons/tree/18.0/contract_manual_security + :alt: NuoBiT/odoo-addons + +|badge1| |badge2| |badge3| + +This module conditionally displays the 'Create invoices' button within +contracts based on a permission + +**Table of contents** + +.. contents:: + :local: + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* NuoBiT Solutions SL + +Contributors +------------ + +- `NuoBiT `__: + + - Eric Antones eantones@nuobit.com + - Deniz Gallo dgallo@nuobit.com + +Maintainers +----------- + +This module is part of the `NuoBiT/odoo-addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/contract_manual_security/__init__.py b/contract_manual_security/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/contract_manual_security/__manifest__.py b/contract_manual_security/__manifest__.py new file mode 100644 index 000000000..7cc6e8dfc --- /dev/null +++ b/contract_manual_security/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright NuoBiT - Eric Antones +# Copyright 2025 NuoBiT - Deniz Gallo +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +{ + "name": "Contract Manual Security", + "summary": "This module conditionally displays the 'Create invoices' " + "button within contracts based on a permission", + "version": "18.0.1.0.0", + "category": "Contract Management", + "author": "NuoBiT Solutions SL", + "website": "https://github.com/NuoBiT/odoo-addons", + "license": "AGPL-3", + "depends": [ + "contract", + ], + "data": [ + "security/contract_security.xml", + "views/contract_views.xml", + ], +} diff --git a/contract_manual_security/i18n/es.po b/contract_manual_security/i18n/es.po new file mode 100644 index 000000000..282bfebb9 --- /dev/null +++ b/contract_manual_security/i18n/es.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_manual_security +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-02-20 14:43+0000\n" +"PO-Revision-Date: 2025-02-20 14:43+0000\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: contract_manual_security +#: model:res.groups,name:contract_manual_security.contract_contract_group_create_manual_invoices +msgid "Allow creating invoices manually from contracts" +msgstr "Permitir la creación manual de facturas desde los contratos" diff --git a/contract_manual_security/pyproject.toml b/contract_manual_security/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/contract_manual_security/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/contract_manual_security/readme/CONTRIBUTORS.md b/contract_manual_security/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..909507cba --- /dev/null +++ b/contract_manual_security/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- [NuoBiT](https://www.nuobit.com): + - Eric Antones + - Deniz Gallo diff --git a/contract_manual_security/readme/DESCRIPTION.md b/contract_manual_security/readme/DESCRIPTION.md new file mode 100644 index 000000000..8063507d1 --- /dev/null +++ b/contract_manual_security/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module conditionally displays the 'Create invoices' button within +contracts based on a permission diff --git a/contract_manual_security/security/contract_security.xml b/contract_manual_security/security/contract_security.xml new file mode 100644 index 000000000..93c6f04eb --- /dev/null +++ b/contract_manual_security/security/contract_security.xml @@ -0,0 +1,11 @@ + + + + + Allow creating invoices manually from contracts + + + + diff --git a/contract_manual_security/static/description/icon.png b/contract_manual_security/static/description/icon.png new file mode 100644 index 000000000..1cd641e79 Binary files /dev/null and b/contract_manual_security/static/description/icon.png differ diff --git a/contract_manual_security/static/description/index.html b/contract_manual_security/static/description/index.html new file mode 100644 index 000000000..b6f84b48e --- /dev/null +++ b/contract_manual_security/static/description/index.html @@ -0,0 +1,421 @@ + + + + + +Contract Manual Security + + + +
+

Contract Manual Security

+ + +

Beta License: AGPL-3 NuoBiT/odoo-addons

+

This module conditionally displays the ‘Create invoices’ button within +contracts based on a permission

+

Table of contents

+ +
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • NuoBiT Solutions SL
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the NuoBiT/odoo-addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/contract_manual_security/views/contract_views.xml b/contract_manual_security/views/contract_views.xml new file mode 100644 index 000000000..b4779a9f8 --- /dev/null +++ b/contract_manual_security/views/contract_views.xml @@ -0,0 +1,17 @@ + + + + + contract.contract.manual.create.invoices.form.view + contract.contract + + + + + +