diff --git a/mis_builder_budget_operating_unit/README.rst b/mis_builder_budget_operating_unit/README.rst new file mode 100644 index 0000000000..43aa434001 --- /dev/null +++ b/mis_builder_budget_operating_unit/README.rst @@ -0,0 +1,81 @@ +====================================== +MIS Builder Budget with Operating Unit +====================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6f72bf3561ed027b5c63cf5bc46cd59eabb8e941513f43d66ec7e5727cb5a1b8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/18.0/mis_builder_budget_operating_unit + :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-18-0/operating-unit-18-0-mis_builder_budget_operating_unit + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Introduces the operating unit to MIS Builder Budget instances. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Set the operating unit in an MIS Builder budget instance. + +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 +------- + +* Camptocamp + +Contributors +------------ + +- Artem Kostyuk + +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. + +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/mis_builder_budget_operating_unit/__init__.py b/mis_builder_budget_operating_unit/__init__.py new file mode 100644 index 0000000000..0650744f6b --- /dev/null +++ b/mis_builder_budget_operating_unit/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/mis_builder_budget_operating_unit/__manifest__.py b/mis_builder_budget_operating_unit/__manifest__.py new file mode 100644 index 0000000000..30e3c9449c --- /dev/null +++ b/mis_builder_budget_operating_unit/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright (C) 2018 by Camptocamp +# Copyright (C) 2026 by CIT-Services +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "MIS Builder Budget with Operating Unit", + "version": "18.0.1.0.0", + "category": "Reporting", + "author": "Camptocamp,Odoo Community Association (OCA)", + "license": "AGPL-3", + "website": "https://github.com/OCA/operating-unit", + "depends": ["mis_builder_budget", "operating_unit"], + "data": ["views/mis_builder_budget.xml"], + "auto_install": True, +} diff --git a/mis_builder_budget_operating_unit/i18n/it.po b/mis_builder_budget_operating_unit/i18n/it.po new file mode 100644 index 0000000000..1306d7b50e --- /dev/null +++ b/mis_builder_budget_operating_unit/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mis_builder_budget_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-10-27 16:42+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__id +msgid "ID" +msgstr "ID" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model,name:mis_builder_budget_operating_unit.model_mis_budget_item +msgid "MIS Budget Item (by KPI)" +msgstr "Voce budget MIS (per KPI)" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__operating_unit_id +msgid "Operating Unit" +msgstr "Unità operativa" diff --git a/mis_builder_budget_operating_unit/i18n/mis_builder_budget_operating_unit.pot b/mis_builder_budget_operating_unit/i18n/mis_builder_budget_operating_unit.pot new file mode 100644 index 0000000000..3ac49d1939 --- /dev/null +++ b/mis_builder_budget_operating_unit/i18n/mis_builder_budget_operating_unit.pot @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mis_builder_budget_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \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: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__display_name +msgid "Display Name" +msgstr "" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__id +msgid "ID" +msgstr "" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item____last_update +msgid "Last Modified on" +msgstr "" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model,name:mis_builder_budget_operating_unit.model_mis_budget_item +msgid "MIS Budget Item (by KPI)" +msgstr "" + +#. module: mis_builder_budget_operating_unit +#: model:ir.model.fields,field_description:mis_builder_budget_operating_unit.field_mis_budget_item__operating_unit_id +msgid "Operating Unit" +msgstr "" diff --git a/mis_builder_budget_operating_unit/models/__init__.py b/mis_builder_budget_operating_unit/models/__init__.py new file mode 100644 index 0000000000..887fdd0104 --- /dev/null +++ b/mis_builder_budget_operating_unit/models/__init__.py @@ -0,0 +1 @@ +from . import mis_budget_item diff --git a/mis_builder_budget_operating_unit/models/mis_budget_item.py b/mis_builder_budget_operating_unit/models/mis_budget_item.py new file mode 100644 index 0000000000..2392197d43 --- /dev/null +++ b/mis_builder_budget_operating_unit/models/mis_budget_item.py @@ -0,0 +1,12 @@ +# Copyright (C) 2018 by Camptocamp +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class MisBudgetItem(models.Model): + _inherit = "mis.budget.item" + + operating_unit_id = fields.Many2one( + comodel_name="operating.unit", + string="Operating Unit", + ) diff --git a/mis_builder_budget_operating_unit/pyproject.toml b/mis_builder_budget_operating_unit/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/mis_builder_budget_operating_unit/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/mis_builder_budget_operating_unit/readme/CONTRIBUTORS.md b/mis_builder_budget_operating_unit/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..74a0b50ab5 --- /dev/null +++ b/mis_builder_budget_operating_unit/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Artem Kostyuk \ diff --git a/mis_builder_budget_operating_unit/readme/DESCRIPTION.md b/mis_builder_budget_operating_unit/readme/DESCRIPTION.md new file mode 100644 index 0000000000..ec8292be89 --- /dev/null +++ b/mis_builder_budget_operating_unit/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Introduces the operating unit to MIS Builder Budget instances. diff --git a/mis_builder_budget_operating_unit/readme/USAGE.md b/mis_builder_budget_operating_unit/readme/USAGE.md new file mode 100644 index 0000000000..98cec1b88c --- /dev/null +++ b/mis_builder_budget_operating_unit/readme/USAGE.md @@ -0,0 +1 @@ +Set the operating unit in an MIS Builder budget instance. diff --git a/mis_builder_budget_operating_unit/static/description/icon.png b/mis_builder_budget_operating_unit/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/mis_builder_budget_operating_unit/static/description/icon.png differ diff --git a/mis_builder_budget_operating_unit/static/description/index.html b/mis_builder_budget_operating_unit/static/description/index.html new file mode 100644 index 0000000000..4eab229543 --- /dev/null +++ b/mis_builder_budget_operating_unit/static/description/index.html @@ -0,0 +1,428 @@ + + + + + +MIS Builder Budget with Operating Unit + + + +
+

MIS Builder Budget with Operating Unit

+ + +

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

+

Introduces the operating unit to MIS Builder Budget instances.

+

Table of contents

+ +
+

Usage

+

Set the operating unit in an MIS Builder budget instance.

+
+
+

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

+
    +
  • Camptocamp
  • +
+
+
+

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.

+

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/mis_builder_budget_operating_unit/views/mis_builder_budget.xml b/mis_builder_budget_operating_unit/views/mis_builder_budget.xml new file mode 100644 index 0000000000..a908218750 --- /dev/null +++ b/mis_builder_budget_operating_unit/views/mis_builder_budget.xml @@ -0,0 +1,16 @@ + + + + mis.budget.item.list + mis.budget.item + + + + + + + +