From 9505eb464754fbf455ef0f81f94255d4040a1538 Mon Sep 17 00:00:00 2001 From: SerpentCS Date: Tue, 4 Oct 2016 17:02:02 +0530 Subject: [PATCH 01/39] mis_builder_operating_unit migrated to v9 --- mis_builder_operating_unit/__init__.py | 7 ++++ mis_builder_operating_unit/__openerp__.py | 22 +++++++++++++ mis_builder_operating_unit/model/__init__.py | 7 ++++ .../model/mis_builder.py | 32 +++++++++++++++++++ .../security/mis_builder_security.xml | 18 +++++++++++ .../view/mis_builder.xml | 30 +++++++++++++++++ 6 files changed, 116 insertions(+) create mode 100644 mis_builder_operating_unit/__init__.py create mode 100644 mis_builder_operating_unit/__openerp__.py create mode 100644 mis_builder_operating_unit/model/__init__.py create mode 100644 mis_builder_operating_unit/model/mis_builder.py create mode 100644 mis_builder_operating_unit/security/mis_builder_security.xml create mode 100644 mis_builder_operating_unit/view/mis_builder.xml diff --git a/mis_builder_operating_unit/__init__.py b/mis_builder_operating_unit/__init__.py new file mode 100644 index 0000000000..114a2637ca --- /dev/null +++ b/mis_builder_operating_unit/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# © 2015 Eficent Business and IT Consulting Services S.L. - +# Jordi Ballester Alomar +# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from . import model diff --git a/mis_builder_operating_unit/__openerp__.py b/mis_builder_operating_unit/__openerp__.py new file mode 100644 index 0000000000..8eddcf8680 --- /dev/null +++ b/mis_builder_operating_unit/__openerp__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# © 2015 Eficent Business and IT Consulting Services S.L. - +# Jordi Ballester Alomar +# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +{ + 'name': 'MIS Builder with Operating Unit', + 'version': '9.0.1.0.0', + 'category': 'Reporting', + "author": "Eficent Business and IT Consulting Services S.L., " + "Serpent Consulting Services Pvt. Ltd.," + "Odoo Community Association (OCA)", + "license": "LGPL-3", + 'website': 'http://www.eficent.com', + 'depends': ['mis_builder', 'account_operating_unit'], + 'data': [ + 'view/mis_builder.xml', + 'security/mis_builder_security.xml' + ], + 'installable': True, +} diff --git a/mis_builder_operating_unit/model/__init__.py b/mis_builder_operating_unit/model/__init__.py new file mode 100644 index 0000000000..4a27f97723 --- /dev/null +++ b/mis_builder_operating_unit/model/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# © 2015 Eficent Business and IT Consulting Services S.L. - +# Jordi Ballester Alomar +# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from . import mis_builder diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py new file mode 100644 index 0000000000..fedd0b1305 --- /dev/null +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# © 2015 Eficent Business and IT Consulting Services S.L. - +# Jordi Ballester Alomar +# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from openerp import api, fields, models + + +class MisReportInstance(models.Model): + + _inherit = 'mis.report.instance' + + operating_unit_ids = fields.Many2many('operating.unit', + string='Operating Unit', + required=False) + + +class MisReportInstancePeriod(models.Model): + + _inherit = 'mis.report.instance.period' + + @api.multi + def _get_additional_move_line_filter(self): + aml_domain = super( + MisReportInstancePeriod, self)._get_additional_move_line_filter() + if self.report_instance_id.operating_unit_ids: + operating_unit_ids = [op.id for op in + self.report_instance_id.operating_unit_ids] + aml_domain.append(('operating_unit_id', 'in', + tuple(operating_unit_ids))) + return aml_domain diff --git a/mis_builder_operating_unit/security/mis_builder_security.xml b/mis_builder_operating_unit/security/mis_builder_security.xml new file mode 100644 index 0000000000..3e3f0b451b --- /dev/null +++ b/mis_builder_operating_unit/security/mis_builder_security.xml @@ -0,0 +1,18 @@ + + + + + + + ['|',('operating_unit_ids','=',False),('operating_unit_ids','in',[g.id for g in user.operating_unit_ids])] + MIS Reports from allowed operating units + + + + + + + + + diff --git a/mis_builder_operating_unit/view/mis_builder.xml b/mis_builder_operating_unit/view/mis_builder.xml new file mode 100644 index 0000000000..eaaebeaac4 --- /dev/null +++ b/mis_builder_operating_unit/view/mis_builder.xml @@ -0,0 +1,30 @@ + + + + + mis.report.instance.view.tree + mis.report.instance + + + + + + + + + + mis.report.instance.view.form + mis.report.instance + + + + + + + + + + + From 9031406f7ed6b6670b92b46359e951d4a2b34d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Thu, 4 May 2017 16:15:05 +0200 Subject: [PATCH 02/39] mis_builder_operating_unit 10.0 --- mis_builder_operating_unit/{__openerp__.py => __manifest__.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename mis_builder_operating_unit/{__openerp__.py => __manifest__.py} (96%) diff --git a/mis_builder_operating_unit/__openerp__.py b/mis_builder_operating_unit/__manifest__.py similarity index 96% rename from mis_builder_operating_unit/__openerp__.py rename to mis_builder_operating_unit/__manifest__.py index 8eddcf8680..ba50bd42d1 100644 --- a/mis_builder_operating_unit/__openerp__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -6,7 +6,7 @@ { 'name': 'MIS Builder with Operating Unit', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Reporting', "author": "Eficent Business and IT Consulting Services S.L., " "Serpent Consulting Services Pvt. Ltd.," From a16485b6481e035c7c5a9d0d8e3945af01821661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Thu, 4 May 2017 17:32:33 +0200 Subject: [PATCH 03/39] mis_builder_operating_unit record rule --- .../security/mis_builder_security.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mis_builder_operating_unit/security/mis_builder_security.xml b/mis_builder_operating_unit/security/mis_builder_security.xml index 3e3f0b451b..a1876dfcdc 100644 --- a/mis_builder_operating_unit/security/mis_builder_security.xml +++ b/mis_builder_operating_unit/security/mis_builder_security.xml @@ -8,10 +8,10 @@ ['|',('operating_unit_ids','=',False),('operating_unit_ids','in',[g.id for g in user.operating_unit_ids])] MIS Reports from allowed operating units - - + + - + From b7f8d16cb66f1bdfc834e252c4d5b5a20b573c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Sun, 11 Mar 2018 15:57:30 +0100 Subject: [PATCH 04/39] mis_builder_operating_unit: OU filter in columns This allows displaying operating units side by sides. --- mis_builder_operating_unit/__manifest__.py | 1 + mis_builder_operating_unit/model/mis_builder.py | 15 ++++++++++----- mis_builder_operating_unit/view/mis_builder.xml | 15 ++++++++------- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index ba50bd42d1..a7da3b1f1f 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -10,6 +10,7 @@ 'category': 'Reporting', "author": "Eficent Business and IT Consulting Services S.L., " "Serpent Consulting Services Pvt. Ltd.," + "ACSONE SA/NV," "Odoo Community Association (OCA)", "license": "LGPL-3", 'website': 'http://www.eficent.com', diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index fedd0b1305..69d5cc33d9 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -20,13 +20,18 @@ class MisReportInstancePeriod(models.Model): _inherit = 'mis.report.instance.period' + operating_unit_ids = fields.Many2many('operating.unit', + string='Operating Unit', + required=False) + @api.multi def _get_additional_move_line_filter(self): - aml_domain = super( - MisReportInstancePeriod, self)._get_additional_move_line_filter() + aml_domain = super(MisReportInstancePeriod, self).\ + _get_additional_move_line_filter() if self.report_instance_id.operating_unit_ids: - operating_unit_ids = [op.id for op in - self.report_instance_id.operating_unit_ids] aml_domain.append(('operating_unit_id', 'in', - tuple(operating_unit_ids))) + self.report_instance_id.operating_unit_ids.ids)) + if self.operating_unit_ids: + aml_domain.append(('operating_unit_id', 'in', + self.operating_unit_ids.ids)) return aml_domain diff --git a/mis_builder_operating_unit/view/mis_builder.xml b/mis_builder_operating_unit/view/mis_builder.xml index eaaebeaac4..58aeb2252f 100644 --- a/mis_builder_operating_unit/view/mis_builder.xml +++ b/mis_builder_operating_unit/view/mis_builder.xml @@ -13,16 +13,17 @@ - - mis.report.instance.view.form - mis.report.instance + + mis.report.instance.period.view.form + mis.report.instance.period + ref="mis_builder.mis_report_instance_period_view_form"/> - - - + + + From 26e6d71f0cee3bc9437c8dcd39ff61f7caa23a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Sun, 11 Mar 2018 15:58:10 +0100 Subject: [PATCH 05/39] mis_builder_operating_unit: cosmetics --- mis_builder_operating_unit/model/mis_builder.py | 5 +++-- mis_builder_operating_unit/view/mis_builder.xml | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index 69d5cc33d9..aa193a5cd3 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- -# © 2015 Eficent Business and IT Consulting Services S.L. - +# Copyright 2015 Eficent Business and IT Consulting Services S.L. - # Jordi Ballester Alomar -# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# Copyright 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# Copyright 2018 ACSONE SA/NV # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from openerp import api, fields, models diff --git a/mis_builder_operating_unit/view/mis_builder.xml b/mis_builder_operating_unit/view/mis_builder.xml index 58aeb2252f..7f04d74213 100644 --- a/mis_builder_operating_unit/view/mis_builder.xml +++ b/mis_builder_operating_unit/view/mis_builder.xml @@ -1,6 +1,6 @@ - - + + mis.report.instance.view.tree mis.report.instance @@ -27,5 +27,4 @@ - - + From 94beca4df325bafb24e475463e7f44779e721db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 19 Mar 2018 20:10:53 +0100 Subject: [PATCH 06/39] mis_builder_operating_unit: restore accidentally deleted view --- mis_builder_operating_unit/view/mis_builder.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mis_builder_operating_unit/view/mis_builder.xml b/mis_builder_operating_unit/view/mis_builder.xml index 7f04d74213..830e33be20 100644 --- a/mis_builder_operating_unit/view/mis_builder.xml +++ b/mis_builder_operating_unit/view/mis_builder.xml @@ -13,6 +13,19 @@ + + mis.report.instance.view.form + mis.report.instance + + + + + + + + + mis.report.instance.period.view.form mis.report.instance.period From 3f55c85dff83dd364397e6b58f27331fb00ca860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Tue, 20 Mar 2018 19:20:29 +0100 Subject: [PATCH 07/39] mis_builder_operating_unit: add a sudo in filter (see comment in code) --- .../model/mis_builder.py | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index aa193a5cd3..7b411e15dd 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -29,10 +29,20 @@ class MisReportInstancePeriod(models.Model): def _get_additional_move_line_filter(self): aml_domain = super(MisReportInstancePeriod, self).\ _get_additional_move_line_filter() - if self.report_instance_id.operating_unit_ids: - aml_domain.append(('operating_unit_id', 'in', - self.report_instance_id.operating_unit_ids.ids)) - if self.operating_unit_ids: - aml_domain.append(('operating_unit_id', 'in', - self.operating_unit_ids.ids)) + # we need sudo because, imagine a user having access + # to operating unit A, viewing a report with 3 columns + # for OU A, B, C: in columns B and C, self.operating_unit_ids + # would be empty for him, and the query on a.m.l would be only + # restricted by the record rules (ie showing move lines + # for OU A only). So the report would display values + # for OU A in all 3 columns. + sudoself = self.sudo() + if sudoself.report_instance_id.operating_unit_ids: + aml_domain.append( + ('operating_unit_id', 'in', + sudoself.report_instance_id.operating_unit_ids.ids)) + if sudoself.operating_unit_ids: + aml_domain.append( + ('operating_unit_id', 'in', + sudoself.operating_unit_ids.ids)) return aml_domain From 7cb6be7bb362ba1d6799da5009a616b518daf8cb Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 11 Jun 2018 14:56:26 +0200 Subject: [PATCH 08/39] add readme to mis_builder_operating_unit --- mis_builder_operating_unit/README.rst | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 mis_builder_operating_unit/README.rst diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst new file mode 100644 index 0000000000..de8dd5faa7 --- /dev/null +++ b/mis_builder_operating_unit/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/license-LGPLv3-blue.svg + :target: https://www.gnu.org/licenses/lgpl.html + :alt: License: LGPL-3 + +========================== +MIS Builder Operating Unit +========================== + +Introduces the operating unit to MIS Builder report instances. + +Usage +===== + +Set the operating unit in a MIS Builder instance. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/213/10.0 + +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 smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Author +------ + +* Stéphane Bidoul + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit http://odoo-community.org. From aa56b9e60d03fb32331cf4c76aff5ae94e77d910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Jimenez?= Date: Wed, 6 Feb 2019 10:02:21 +0100 Subject: [PATCH 09/39] mis_builder_operating_unit: Migration to v11 --- mis_builder_operating_unit/README.rst | 75 ++- mis_builder_operating_unit/__init__.py | 4 - mis_builder_operating_unit/__manifest__.py | 13 +- mis_builder_operating_unit/model/__init__.py | 4 - .../model/mis_builder.py | 23 +- .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + mis_builder_operating_unit/readme/USAGE.rst | 1 + .../security/mis_builder_security.xml | 11 +- .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 426 ++++++++++++++++++ 11 files changed, 506 insertions(+), 53 deletions(-) create mode 100644 mis_builder_operating_unit/readme/CONTRIBUTORS.rst create mode 100644 mis_builder_operating_unit/readme/DESCRIPTION.rst create mode 100644 mis_builder_operating_unit/readme/USAGE.rst create mode 100644 mis_builder_operating_unit/static/description/icon.png create mode 100644 mis_builder_operating_unit/static/description/index.html diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst index de8dd5faa7..ccaf45a3a2 100644 --- a/mis_builder_operating_unit/README.rst +++ b/mis_builder_operating_unit/README.rst @@ -1,49 +1,80 @@ -.. image:: https://img.shields.io/badge/license-LGPLv3-blue.svg - :target: https://www.gnu.org/licenses/lgpl.html - :alt: License: LGPL-3 +=============================== +MIS Builder with Operating Unit +=============================== -========================== -MIS Builder Operating Unit -========================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github + :target: https://github.com/OCA/operating-unit/tree/11.0/mis_builder_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-11-0/operating-unit-11-0-mis_builder_operating_unit + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/213/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| Introduces the operating unit to MIS Builder report instances. +**Table of contents** + +.. contents:: + :local: + Usage ===== Set the operating unit in a MIS Builder instance. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/213/10.0 - 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 smashing it by providing a detailed and welcomed feedback. +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Author ------- +Authors +~~~~~~~ + +* Eficent Business and IT Consulting Services S.L. +* Serpent Consulting Services Pvt. Ltd. +* ACSONE SA/NV + +Contributors +~~~~~~~~~~~~ * Stéphane Bidoul -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association - :target: http://odoo-community.org - -This module is maintained by the OCA. + :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. -To contribute to this module, please visit http://odoo-community.org. +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_operating_unit/__init__.py b/mis_builder_operating_unit/__init__.py index 114a2637ca..3bbf81aeec 100644 --- a/mis_builder_operating_unit/__init__.py +++ b/mis_builder_operating_unit/__init__.py @@ -1,7 +1,3 @@ -# -*- coding: utf-8 -*- -# © 2015 Eficent Business and IT Consulting Services S.L. - -# Jordi Ballester Alomar -# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from . import model diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index a7da3b1f1f..88a0945146 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -1,23 +1,22 @@ -# -*- coding: utf-8 -*- -# © 2015 Eficent Business and IT Consulting Services S.L. - +# © 2015-19 Eficent Business and IT Consulting Services S.L. - # Jordi Ballester Alomar -# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# © 2015-19 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { 'name': 'MIS Builder with Operating Unit', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Reporting', "author": "Eficent Business and IT Consulting Services S.L., " "Serpent Consulting Services Pvt. Ltd.," "ACSONE SA/NV," "Odoo Community Association (OCA)", "license": "LGPL-3", - 'website': 'http://www.eficent.com', + 'website': 'https://github.com/operating-unit', 'depends': ['mis_builder', 'account_operating_unit'], 'data': [ - 'view/mis_builder.xml', - 'security/mis_builder_security.xml' + 'security/mis_builder_security.xml', + 'view/mis_builder.xml' ], 'installable': True, } diff --git a/mis_builder_operating_unit/model/__init__.py b/mis_builder_operating_unit/model/__init__.py index 4a27f97723..67e8cc9971 100644 --- a/mis_builder_operating_unit/model/__init__.py +++ b/mis_builder_operating_unit/model/__init__.py @@ -1,7 +1,3 @@ -# -*- coding: utf-8 -*- -# © 2015 Eficent Business and IT Consulting Services S.L. - -# Jordi Ballester Alomar -# © 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from . import mis_builder diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index 7b411e15dd..5d69c9912e 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -1,29 +1,30 @@ -# -*- coding: utf-8 -*- -# Copyright 2015 Eficent Business and IT Consulting Services S.L. - +# Copyright 2015-19 Eficent Business and IT Consulting Services S.L. - # Jordi Ballester Alomar -# Copyright 2015 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya -# Copyright 2018 ACSONE SA/NV +# Copyright 2015-19 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya +# Copyright 2018-19 ACSONE SA/NV # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -from openerp import api, fields, models +from odoo import api, fields, models class MisReportInstance(models.Model): _inherit = 'mis.report.instance' - operating_unit_ids = fields.Many2many('operating.unit', - string='Operating Unit', - required=False) + operating_unit_ids = fields.Many2many( + 'operating.unit', + string='Operating Unit', + ) class MisReportInstancePeriod(models.Model): _inherit = 'mis.report.instance.period' - operating_unit_ids = fields.Many2many('operating.unit', - string='Operating Unit', - required=False) + operating_unit_ids = fields.Many2many( + 'operating.unit', + string='Operating Unit', + ) @api.multi def _get_additional_move_line_filter(self): diff --git a/mis_builder_operating_unit/readme/CONTRIBUTORS.rst b/mis_builder_operating_unit/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..f323b44ab0 --- /dev/null +++ b/mis_builder_operating_unit/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Stéphane Bidoul diff --git a/mis_builder_operating_unit/readme/DESCRIPTION.rst b/mis_builder_operating_unit/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..f2ac48bde3 --- /dev/null +++ b/mis_builder_operating_unit/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Introduces the operating unit to MIS Builder report instances. diff --git a/mis_builder_operating_unit/readme/USAGE.rst b/mis_builder_operating_unit/readme/USAGE.rst new file mode 100644 index 0000000000..ac487022f9 --- /dev/null +++ b/mis_builder_operating_unit/readme/USAGE.rst @@ -0,0 +1 @@ +Set the operating unit in a MIS Builder instance. diff --git a/mis_builder_operating_unit/security/mis_builder_security.xml b/mis_builder_operating_unit/security/mis_builder_security.xml index a1876dfcdc..ed04314202 100644 --- a/mis_builder_operating_unit/security/mis_builder_security.xml +++ b/mis_builder_operating_unit/security/mis_builder_security.xml @@ -1,7 +1,9 @@ - - - + + + + + @@ -14,5 +16,4 @@ - - + diff --git a/mis_builder_operating_unit/static/description/icon.png b/mis_builder_operating_unit/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@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y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/mis_builder_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html new file mode 100644 index 0000000000..8899e1ce63 --- /dev/null +++ b/mis_builder_operating_unit/static/description/index.html @@ -0,0 +1,426 @@ + + + + + + +MIS Builder with Operating Unit + + + +
+

MIS Builder with Operating Unit

+ + +

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

+

Introduces the operating unit to MIS Builder report instances.

+

Table of contents

+ +
+

Usage

+

Set the operating unit in a MIS Builder 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 smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Eficent Business and IT Consulting Services S.L.
  • +
  • Serpent Consulting Services Pvt. Ltd.
  • +
  • ACSONE SA/NV
  • +
+
+
+

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.

+
+
+
+ + From f1a2d52072e5f0f12719172f79f362cc7e05c5b8 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 22 Nov 2019 14:25:22 +0100 Subject: [PATCH 10/39] mis_builder_account_operating_unit: Migration to 12.0 --- mis_builder_operating_unit/README.rst | 12 ++++++------ mis_builder_operating_unit/__manifest__.py | 2 +- .../static/description/index.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst index ccaf45a3a2..7b4cc8c079 100644 --- a/mis_builder_operating_unit/README.rst +++ b/mis_builder_operating_unit/README.rst @@ -14,16 +14,16 @@ MIS Builder with Operating Unit :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github - :target: https://github.com/OCA/operating-unit/tree/11.0/mis_builder_operating_unit + :target: https://github.com/OCA/operating-unit/tree/12.0/mis_builder_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-11-0/operating-unit-11-0-mis_builder_operating_unit + :target: https://translation.odoo-community.org/projects/operating-unit-12-0/operating-unit-12-0-mis_builder_operating_unit :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/213/11.0 + :target: https://runbot.odoo-community.org/runbot/213/12.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Introduces the operating unit to MIS Builder report instances. @@ -43,7 +43,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -75,6 +75,6 @@ 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. +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_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index 88a0945146..9b14124a3a 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'MIS Builder with Operating Unit', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Reporting', "author": "Eficent Business and IT Consulting Services S.L., " "Serpent Consulting Services Pvt. Ltd.," diff --git a/mis_builder_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html index 8899e1ce63..662162bb91 100644 --- a/mis_builder_operating_unit/static/description/index.html +++ b/mis_builder_operating_unit/static/description/index.html @@ -367,7 +367,7 @@

MIS Builder with Operating Unit

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

Introduces the operating unit to MIS Builder report instances.

Table of contents

@@ -391,7 +391,7 @@

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

+feedback.

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

@@ -417,7 +417,7 @@

Maintainers

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.

+

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.

From f86879faffb1bc78f0b65dab3cc35bfe1bfa4d7e Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 1 Apr 2020 15:33:09 +0000 Subject: [PATCH 11/39] Update mis_builder_operating_unit.pot --- .../i18n/mis_builder_operating_unit.pot | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot diff --git a/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot new file mode 100644 index 0000000000..0a9d8e50e5 --- /dev/null +++ b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mis_builder_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance +msgid "MIS Report Instance" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance_period +msgid "MIS Report Instance Period" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids +msgid "Operating Unit" +msgstr "" + From 0854faefd610c48f7ffd78b75b8ba1e4f1a80533 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 1 Apr 2020 15:44:33 +0000 Subject: [PATCH 12/39] README.rst --- mis_builder_operating_unit/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst index 7b4cc8c079..f141979ac7 100644 --- a/mis_builder_operating_unit/README.rst +++ b/mis_builder_operating_unit/README.rst @@ -23,7 +23,7 @@ MIS Builder with Operating Unit :target: https://runbot.odoo-community.org/runbot/213/12.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Introduces the operating unit to MIS Builder report instances. From 67a98028c00e7212427e27d49f8ffa6fc5b06a5e Mon Sep 17 00:00:00 2001 From: Hans Henrik Gabelgaard Date: Thu, 16 Apr 2020 13:22:20 +0000 Subject: [PATCH 13/39] Added translation using Weblate (Danish) --- mis_builder_operating_unit/i18n/da.po | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mis_builder_operating_unit/i18n/da.po diff --git a/mis_builder_operating_unit/i18n/da.po b/mis_builder_operating_unit/i18n/da.po new file mode 100644 index 0000000000..88fb815d1d --- /dev/null +++ b/mis_builder_operating_unit/i18n/da.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mis_builder_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: da\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" + +#. module: mis_builder_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance +msgid "MIS Report Instance" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance_period +msgid "MIS Report Instance Period" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids +msgid "Operating Unit" +msgstr "" From d6ccbdaa0135cc9a790e1f6061cd01132f7fcfd2 Mon Sep 17 00:00:00 2001 From: Hans Henrik Gabelgaard Date: Thu, 16 Apr 2020 13:22:46 +0000 Subject: [PATCH 14/39] Translated using Weblate (Danish) Currently translated at 100.0% (3 of 3 strings) Translation: operating-unit-12.0/operating-unit-12.0-mis_builder_operating_unit Translate-URL: https://translation.odoo-community.org/projects/operating-unit-12-0/operating-unit-12-0-mis_builder_operating_unit/da/ --- mis_builder_operating_unit/i18n/da.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mis_builder_operating_unit/i18n/da.po b/mis_builder_operating_unit/i18n/da.po index 88fb815d1d..91eeafda92 100644 --- a/mis_builder_operating_unit/i18n/da.po +++ b/mis_builder_operating_unit/i18n/da.po @@ -6,26 +6,28 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2020-04-16 13:23+0000\n" +"Last-Translator: Hans Henrik Gabelgaard \n" "Language-Team: none\n" "Language: da\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 3.10\n" #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance msgid "MIS Report Instance" -msgstr "" +msgstr "MIS Rapport Instans" #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance_period msgid "MIS Report Instance Period" -msgstr "" +msgstr "MIS Rapport instans periode" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids msgid "Operating Unit" -msgstr "" +msgstr "Driftsenhed" From d7e922c1c373bebf1e8be620080578e033ee6852 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 22 Sep 2020 19:18:12 +0200 Subject: [PATCH 15/39] mis_builder_operating_unit: black, isort, prettier --- mis_builder_operating_unit/__manifest__.py | 23 +++-- .../model/mis_builder.py | 31 ++++--- .../security/mis_builder_security.xml | 30 +++---- .../view/mis_builder.xml | 86 ++++++++++--------- 4 files changed, 87 insertions(+), 83 deletions(-) diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index 9b14124a3a..883a47a5fa 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -4,19 +4,16 @@ # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { - 'name': 'MIS Builder with Operating Unit', - 'version': '12.0.1.0.0', - 'category': 'Reporting', + "name": "MIS Builder with Operating Unit", + "version": "12.0.1.0.0", + "category": "Reporting", "author": "Eficent Business and IT Consulting Services S.L., " - "Serpent Consulting Services Pvt. Ltd.," - "ACSONE SA/NV," - "Odoo Community Association (OCA)", + "Serpent Consulting Services Pvt. Ltd.," + "ACSONE SA/NV," + "Odoo Community Association (OCA)", "license": "LGPL-3", - 'website': 'https://github.com/operating-unit', - 'depends': ['mis_builder', 'account_operating_unit'], - 'data': [ - 'security/mis_builder_security.xml', - 'view/mis_builder.xml' - ], - 'installable': True, + "website": "https://github.com/operating-unit", + "depends": ["mis_builder", "account_operating_unit"], + "data": ["security/mis_builder_security.xml", "view/mis_builder.xml"], + "installable": True, } diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index 5d69c9912e..21ec731e08 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -9,27 +9,22 @@ class MisReportInstance(models.Model): - _inherit = 'mis.report.instance' + _inherit = "mis.report.instance" - operating_unit_ids = fields.Many2many( - 'operating.unit', - string='Operating Unit', - ) + operating_unit_ids = fields.Many2many("operating.unit", string="Operating Unit",) class MisReportInstancePeriod(models.Model): - _inherit = 'mis.report.instance.period' + _inherit = "mis.report.instance.period" - operating_unit_ids = fields.Many2many( - 'operating.unit', - string='Operating Unit', - ) + operating_unit_ids = fields.Many2many("operating.unit", string="Operating Unit",) @api.multi def _get_additional_move_line_filter(self): - aml_domain = super(MisReportInstancePeriod, self).\ - _get_additional_move_line_filter() + aml_domain = super( + MisReportInstancePeriod, self + )._get_additional_move_line_filter() # we need sudo because, imagine a user having access # to operating unit A, viewing a report with 3 columns # for OU A, B, C: in columns B and C, self.operating_unit_ids @@ -40,10 +35,14 @@ def _get_additional_move_line_filter(self): sudoself = self.sudo() if sudoself.report_instance_id.operating_unit_ids: aml_domain.append( - ('operating_unit_id', 'in', - sudoself.report_instance_id.operating_unit_ids.ids)) + ( + "operating_unit_id", + "in", + sudoself.report_instance_id.operating_unit_ids.ids, + ) + ) if sudoself.operating_unit_ids: aml_domain.append( - ('operating_unit_id', 'in', - sudoself.operating_unit_ids.ids)) + ("operating_unit_id", "in", sudoself.operating_unit_ids.ids) + ) return aml_domain diff --git a/mis_builder_operating_unit/security/mis_builder_security.xml b/mis_builder_operating_unit/security/mis_builder_security.xml index ed04314202..0aff8d0f1c 100644 --- a/mis_builder_operating_unit/security/mis_builder_security.xml +++ b/mis_builder_operating_unit/security/mis_builder_security.xml @@ -1,19 +1,19 @@ - + - - - - - - - ['|',('operating_unit_ids','=',False),('operating_unit_ids','in',[g.id for g in user.operating_unit_ids])] + + + + + + + ['|',('operating_unit_ids','=',False),('operating_unit_ids','in',[g.id for g in user.operating_unit_ids])] MIS Reports from allowed operating units - - - - - + + + + + - diff --git a/mis_builder_operating_unit/view/mis_builder.xml b/mis_builder_operating_unit/view/mis_builder.xml index 830e33be20..9a3664cf31 100644 --- a/mis_builder_operating_unit/view/mis_builder.xml +++ b/mis_builder_operating_unit/view/mis_builder.xml @@ -1,43 +1,51 @@ - + - - - mis.report.instance.view.tree - mis.report.instance - - - - - + + mis.report.instance.view.tree + mis.report.instance + + + + - - - - mis.report.instance.view.form - mis.report.instance - - - - - - + + + + mis.report.instance.view.form + mis.report.instance + + + + + - - - - mis.report.instance.period.view.form - mis.report.instance.period - - - - - - - - - + + + + mis.report.instance.period.view.form + mis.report.instance.period + + + + + + + + From d1e7401b2856ede2f169adf4ed99848f663a900f Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 22 Sep 2020 19:19:24 +0200 Subject: [PATCH 16/39] mis_builder_operating_unit: Migration to 13.0 --- mis_builder_operating_unit/__manifest__.py | 2 +- mis_builder_operating_unit/model/mis_builder.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index 883a47a5fa..8cf4d637db 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -5,7 +5,7 @@ { "name": "MIS Builder with Operating Unit", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Reporting", "author": "Eficent Business and IT Consulting Services S.L., " "Serpent Consulting Services Pvt. Ltd.," diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index 21ec731e08..c1e82abace 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -4,7 +4,7 @@ # Copyright 2018-19 ACSONE SA/NV # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -from odoo import api, fields, models +from odoo import fields, models class MisReportInstance(models.Model): @@ -20,7 +20,6 @@ class MisReportInstancePeriod(models.Model): operating_unit_ids = fields.Many2many("operating.unit", string="Operating Unit",) - @api.multi def _get_additional_move_line_filter(self): aml_domain = super( MisReportInstancePeriod, self From 0187414d913412ae187700128fd79fd7513b8200 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 22 Sep 2020 21:03:06 +0200 Subject: [PATCH 17/39] mis_builder_operating_unit: tests --- mis_builder_operating_unit/tests/__init__.py | 3 +++ .../tests/test_mis_builder_operating_unit.py | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 mis_builder_operating_unit/tests/__init__.py create mode 100644 mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py diff --git a/mis_builder_operating_unit/tests/__init__.py b/mis_builder_operating_unit/tests/__init__.py new file mode 100644 index 0000000000..acd9510d68 --- /dev/null +++ b/mis_builder_operating_unit/tests/__init__.py @@ -0,0 +1,3 @@ +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from . import test_mis_builder_operating_unit diff --git a/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py b/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py new file mode 100644 index 0000000000..fd1d9a8ec1 --- /dev/null +++ b/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py @@ -0,0 +1,10 @@ +# Copyright 2020 Hunki Enterprises BV +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from odoo.addons.mis_builder.tests.test_mis_report_instance import ( + TestMisReportInstance as _TestMisReportInstance, +) + + +class TestMisBuilderOperatingUnit(_TestMisReportInstance): + pass From c5e5ed8ea77ef1e9462c12fee33408529c754f52 Mon Sep 17 00:00:00 2001 From: Kitti U Date: Tue, 11 May 2021 13:43:54 +0700 Subject: [PATCH 18/39] mis_builder_operating_unit: black, isort, prettier --- mis_builder_operating_unit/__manifest__.py | 2 +- mis_builder_operating_unit/model/mis_builder.py | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index 8cf4d637db..0b9160ac2f 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -12,7 +12,7 @@ "ACSONE SA/NV," "Odoo Community Association (OCA)", "license": "LGPL-3", - "website": "https://github.com/operating-unit", + "website": "https://github.com/OCA/operating-unit", "depends": ["mis_builder", "account_operating_unit"], "data": ["security/mis_builder_security.xml", "view/mis_builder.xml"], "installable": True, diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index c1e82abace..550e94e7c5 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -11,14 +11,20 @@ class MisReportInstance(models.Model): _inherit = "mis.report.instance" - operating_unit_ids = fields.Many2many("operating.unit", string="Operating Unit",) + operating_unit_ids = fields.Many2many( + "operating.unit", + string="Operating Unit", + ) class MisReportInstancePeriod(models.Model): _inherit = "mis.report.instance.period" - operating_unit_ids = fields.Many2many("operating.unit", string="Operating Unit",) + operating_unit_ids = fields.Many2many( + "operating.unit", + string="Operating Unit", + ) def _get_additional_move_line_filter(self): aml_domain = super( From f86ac341f84572204623938bbd3011761ce6258e Mon Sep 17 00:00:00 2001 From: Kitti U Date: Tue, 11 May 2021 13:54:21 +0700 Subject: [PATCH 19/39] mis_builder_operating_unit --- mis_builder_operating_unit/README.rst | 80 ---- mis_builder_operating_unit/__manifest__.py | 6 +- .../model/mis_builder.py | 2 +- .../readme/CONTRIBUTORS.rst | 1 + .../security/mis_builder_security.xml | 2 +- .../static/description/index.html | 426 ------------------ mis_builder_operating_unit/tests/__init__.py | 3 - .../tests/test_mis_builder_operating_unit.py | 10 - 8 files changed, 6 insertions(+), 524 deletions(-) delete mode 100644 mis_builder_operating_unit/README.rst delete mode 100644 mis_builder_operating_unit/static/description/index.html delete mode 100644 mis_builder_operating_unit/tests/__init__.py delete mode 100644 mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst deleted file mode 100644 index f141979ac7..0000000000 --- a/mis_builder_operating_unit/README.rst +++ /dev/null @@ -1,80 +0,0 @@ -=============================== -MIS Builder with Operating Unit -=============================== - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |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-LGPL--3-blue.png - :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github - :target: https://github.com/OCA/operating-unit/tree/12.0/mis_builder_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-12-0/operating-unit-12-0-mis_builder_operating_unit - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/213/12.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -Introduces the operating unit to MIS Builder report instances. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -Set the operating unit in a MIS Builder 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 smashing it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Eficent Business and IT Consulting Services S.L. -* Serpent Consulting Services Pvt. Ltd. -* ACSONE SA/NV - -Contributors -~~~~~~~~~~~~ - -* Stéphane Bidoul - -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_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index 0b9160ac2f..b82f80b2d8 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -1,13 +1,13 @@ -# © 2015-19 Eficent Business and IT Consulting Services S.L. - +# © 2015-19 ForgeFlow S.L. - # Jordi Ballester Alomar # © 2015-19 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "MIS Builder with Operating Unit", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Reporting", - "author": "Eficent Business and IT Consulting Services S.L., " + "author": "ForgeFlow, " "Serpent Consulting Services Pvt. Ltd.," "ACSONE SA/NV," "Odoo Community Association (OCA)", diff --git a/mis_builder_operating_unit/model/mis_builder.py b/mis_builder_operating_unit/model/mis_builder.py index 550e94e7c5..4906695509 100644 --- a/mis_builder_operating_unit/model/mis_builder.py +++ b/mis_builder_operating_unit/model/mis_builder.py @@ -1,4 +1,4 @@ -# Copyright 2015-19 Eficent Business and IT Consulting Services S.L. - +# Copyright 2015-19 ForgeFlow S.L. - # Jordi Ballester Alomar # Copyright 2015-19 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya # Copyright 2018-19 ACSONE SA/NV diff --git a/mis_builder_operating_unit/readme/CONTRIBUTORS.rst b/mis_builder_operating_unit/readme/CONTRIBUTORS.rst index f323b44ab0..b00917f7b3 100644 --- a/mis_builder_operating_unit/readme/CONTRIBUTORS.rst +++ b/mis_builder_operating_unit/readme/CONTRIBUTORS.rst @@ -1 +1,2 @@ * Stéphane Bidoul +* Kitti U. (migration to v14) diff --git a/mis_builder_operating_unit/security/mis_builder_security.xml b/mis_builder_operating_unit/security/mis_builder_security.xml index 0aff8d0f1c..4239dfba89 100644 --- a/mis_builder_operating_unit/security/mis_builder_security.xml +++ b/mis_builder_operating_unit/security/mis_builder_security.xml @@ -1,6 +1,6 @@ - + diff --git a/mis_builder_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html deleted file mode 100644 index 662162bb91..0000000000 --- a/mis_builder_operating_unit/static/description/index.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - - -MIS Builder with Operating Unit - - - -
-

MIS Builder with Operating Unit

- - -

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

-

Introduces the operating unit to MIS Builder report instances.

-

Table of contents

- -
-

Usage

-

Set the operating unit in a MIS Builder 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 smashing it by providing a detailed and welcomed -feedback.

-

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

-
-
-

Credits

-
-

Authors

-
    -
  • Eficent Business and IT Consulting Services S.L.
  • -
  • Serpent Consulting Services Pvt. Ltd.
  • -
  • ACSONE SA/NV
  • -
-
-
-

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_operating_unit/tests/__init__.py b/mis_builder_operating_unit/tests/__init__.py deleted file mode 100644 index acd9510d68..0000000000 --- a/mis_builder_operating_unit/tests/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from . import test_mis_builder_operating_unit diff --git a/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py b/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py deleted file mode 100644 index fd1d9a8ec1..0000000000 --- a/mis_builder_operating_unit/tests/test_mis_builder_operating_unit.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2020 Hunki Enterprises BV -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from odoo.addons.mis_builder.tests.test_mis_report_instance import ( - TestMisReportInstance as _TestMisReportInstance, -) - - -class TestMisBuilderOperatingUnit(_TestMisReportInstance): - pass From 6ab5582aced5a47d6de710b3a4f264461cff84d2 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 2 Dec 2021 17:25:19 +0000 Subject: [PATCH 20/39] Update mis_builder_operating_unit.pot --- .../i18n/mis_builder_operating_unit.pot | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot index 0a9d8e50e5..b5e6061c6d 100644 --- a/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot +++ b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot @@ -1,18 +1,36 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * mis_builder_operating_unit +# * mis_builder_operating_unit # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\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_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__display_name +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__display_name +msgid "Display Name" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__id +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__id +msgid "ID" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance____last_update +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period____last_update +msgid "Last Modified on" +msgstr "" + #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance msgid "MIS Report Instance" @@ -28,4 +46,3 @@ msgstr "" #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids msgid "Operating Unit" msgstr "" - From 231f6af3abf346ebad578bb883a779874aa41675 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 2 Dec 2021 18:46:13 +0000 Subject: [PATCH 21/39] README.rst --- mis_builder_operating_unit/README.rst | 81 ++++ .../static/description/index.html | 427 ++++++++++++++++++ 2 files changed, 508 insertions(+) create mode 100644 mis_builder_operating_unit/README.rst create mode 100644 mis_builder_operating_unit/static/description/index.html diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst new file mode 100644 index 0000000000..f7e1e42ff5 --- /dev/null +++ b/mis_builder_operating_unit/README.rst @@ -0,0 +1,81 @@ +=============================== +MIS Builder with Operating Unit +=============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github + :target: https://github.com/OCA/operating-unit/tree/14.0/mis_builder_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-14-0/operating-unit-14-0-mis_builder_operating_unit + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/213/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Introduces the operating unit to MIS Builder report instances. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Set the operating unit in a MIS Builder 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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ForgeFlow +* Serpent Consulting Services Pvt. Ltd. +* ACSONE SA/NV + +Contributors +~~~~~~~~~~~~ + +* Stéphane Bidoul +* Kitti U. (migration to v14) + +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_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html new file mode 100644 index 0000000000..fdd5f60404 --- /dev/null +++ b/mis_builder_operating_unit/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +MIS Builder with Operating Unit + + + +
+

MIS Builder with Operating Unit

+ + +

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

+

Introduces the operating unit to MIS Builder report instances.

+

Table of contents

+ +
+

Usage

+

Set the operating unit in a MIS Builder 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 smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ForgeFlow
  • +
  • Serpent Consulting Services Pvt. Ltd.
  • +
  • ACSONE SA/NV
  • +
+
+
+

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.

+
+
+
+ + From b4736705bcf4df588277f587f87ec9945c769e7d Mon Sep 17 00:00:00 2001 From: Francesco Foresti Date: Thu, 16 Dec 2021 11:27:16 +0000 Subject: [PATCH 22/39] Added translation using Weblate (Italian) --- mis_builder_operating_unit/i18n/it.po | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 mis_builder_operating_unit/i18n/it.po diff --git a/mis_builder_operating_unit/i18n/it.po b/mis_builder_operating_unit/i18n/it.po new file mode 100644 index 0000000000..e4c1581c41 --- /dev/null +++ b/mis_builder_operating_unit/i18n/it.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mis_builder_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__display_name +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__display_name +msgid "Display Name" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__id +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__id +msgid "ID" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance____last_update +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period____last_update +msgid "Last Modified on" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance +msgid "MIS Report Instance" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance_period +msgid "MIS Report Instance Period" +msgstr "" + +#. module: mis_builder_operating_unit +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids +#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids +msgid "Operating Unit" +msgstr "" From 261c139e1ddeb344d50cbca0a4e3f71b233554b0 Mon Sep 17 00:00:00 2001 From: Francesco Foresti Date: Thu, 16 Dec 2021 11:42:45 +0000 Subject: [PATCH 23/39] Translated using Weblate (Italian) Currently translated at 66.6% (4 of 6 strings) Translation: operating-unit-14.0/operating-unit-14.0-mis_builder_operating_unit Translate-URL: https://translation.odoo-community.org/projects/operating-unit-14-0/operating-unit-14-0-mis_builder_operating_unit/it/ --- mis_builder_operating_unit/i18n/it.po | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mis_builder_operating_unit/i18n/it.po b/mis_builder_operating_unit/i18n/it.po index e4c1581c41..f172ae591c 100644 --- a/mis_builder_operating_unit/i18n/it.po +++ b/mis_builder_operating_unit/i18n/it.po @@ -6,31 +6,33 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2021-12-16 14:39+0000\n" +"Last-Translator: Francesco Foresti \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 4.3.2\n" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__display_name #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__display_name msgid "Display Name" -msgstr "" +msgstr "Nome da Visualizzare" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__id #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__id msgid "ID" -msgstr "" +msgstr "ID" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance____last_update #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period____last_update msgid "Last Modified on" -msgstr "" +msgstr "Ultima modifica il" #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance @@ -46,4 +48,4 @@ msgstr "" #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__operating_unit_ids msgid "Operating Unit" -msgstr "" +msgstr "Unità Operativa" From d75db80bb0e64da78b577ecb2c9f49120974c4f9 Mon Sep 17 00:00:00 2001 From: Francesco Foresti Date: Mon, 20 Dec 2021 12:09:39 +0000 Subject: [PATCH 24/39] Translated using Weblate (Italian) Currently translated at 100.0% (6 of 6 strings) Translation: operating-unit-14.0/operating-unit-14.0-mis_builder_operating_unit Translate-URL: https://translation.odoo-community.org/projects/operating-unit-14-0/operating-unit-14-0-mis_builder_operating_unit/it/ --- mis_builder_operating_unit/i18n/it.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mis_builder_operating_unit/i18n/it.po b/mis_builder_operating_unit/i18n/it.po index f172ae591c..033c1f37dd 100644 --- a/mis_builder_operating_unit/i18n/it.po +++ b/mis_builder_operating_unit/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-12-16 14:39+0000\n" +"PO-Revision-Date: 2021-12-20 14:39+0000\n" "Last-Translator: Francesco Foresti \n" "Language-Team: none\n" "Language: it\n" @@ -37,12 +37,12 @@ msgstr "Ultima modifica il" #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance msgid "MIS Report Instance" -msgstr "" +msgstr "Report Istanza MIS" #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance_period msgid "MIS Report Instance Period" -msgstr "" +msgstr "Report Periodo Istanza MIS" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__operating_unit_ids From e39d7842ff9a488d822e7ea7602a1a803024a05d Mon Sep 17 00:00:00 2001 From: Rajan Soni Date: Mon, 31 Jan 2022 17:53:58 +0530 Subject: [PATCH 25/39] [MIG] Migrated mis_builder_operating_unit in v15 --- mis_builder_operating_unit/__manifest__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mis_builder_operating_unit/__manifest__.py b/mis_builder_operating_unit/__manifest__.py index b82f80b2d8..852666582e 100644 --- a/mis_builder_operating_unit/__manifest__.py +++ b/mis_builder_operating_unit/__manifest__.py @@ -1,17 +1,17 @@ -# © 2015-19 ForgeFlow S.L. - +# Copyright 2015-19 ForgeFlow S.L. - # Jordi Ballester Alomar # © 2015-19 Serpent Consulting Services Pvt. Ltd. - Sudhir Arya -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "MIS Builder with Operating Unit", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "category": "Reporting", "author": "ForgeFlow, " "Serpent Consulting Services Pvt. Ltd.," "ACSONE SA/NV," "Odoo Community Association (OCA)", - "license": "LGPL-3", + "license": "AGPL-3", "website": "https://github.com/OCA/operating-unit", "depends": ["mis_builder", "account_operating_unit"], "data": ["security/mis_builder_security.xml", "view/mis_builder.xml"], From 1d9372af1d3de1776ba63b4993e5af45b4d53969 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Fri, 26 May 2023 10:05:51 +0000 Subject: [PATCH 26/39] [UPD] Update mis_builder_operating_unit.pot --- .../i18n/mis_builder_operating_unit.pot | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot index b5e6061c6d..a54daf443d 100644 --- a/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot +++ b/mis_builder_operating_unit/i18n/mis_builder_operating_unit.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -13,24 +13,6 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: mis_builder_operating_unit -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__display_name -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__display_name -msgid "Display Name" -msgstr "" - -#. module: mis_builder_operating_unit -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__id -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__id -msgid "ID" -msgstr "" - -#. module: mis_builder_operating_unit -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance____last_update -#: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period____last_update -msgid "Last Modified on" -msgstr "" - #. module: mis_builder_operating_unit #: model:ir.model,name:mis_builder_operating_unit.model_mis_report_instance msgid "MIS Report Instance" From 2e4be22edf198f775489bfd253ccc09ce2825e9c Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 26 May 2023 10:10:37 +0000 Subject: [PATCH 27/39] [UPD] README.rst --- mis_builder_operating_unit/README.rst | 16 ++++++++-------- .../static/description/index.html | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst index f7e1e42ff5..9922307a35 100644 --- a/mis_builder_operating_unit/README.rst +++ b/mis_builder_operating_unit/README.rst @@ -10,17 +10,17 @@ MIS Builder with Operating Unit .. |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-LGPL--3-blue.png - :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 +.. |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/14.0/mis_builder_operating_unit + :target: https://github.com/OCA/operating-unit/tree/15.0/mis_builder_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-14-0/operating-unit-14-0-mis_builder_operating_unit + :target: https://translation.odoo-community.org/projects/operating-unit-15-0/operating-unit-15-0-mis_builder_operating_unit :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/213/14.0 + :target: https://runbot.odoo-community.org/runbot/213/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -43,7 +43,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -76,6 +76,6 @@ 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. +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_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html index fdd5f60404..996b83819e 100644 --- a/mis_builder_operating_unit/static/description/index.html +++ b/mis_builder_operating_unit/static/description/index.html @@ -367,7 +367,7 @@

MIS Builder with Operating Unit

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runbot

+

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

Introduces the operating unit to MIS Builder report instances.

Table of contents

@@ -391,7 +391,7 @@

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

+feedback.

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

@@ -418,7 +418,7 @@

Maintainers

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.

+

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.

From 60c35a30dcb291c52361c01edf731417bb4a924c Mon Sep 17 00:00:00 2001 From: mymage Date: Wed, 7 Jun 2023 10:14:44 +0000 Subject: [PATCH 28/39] Translated using Weblate (Italian) Currently translated at 100.0% (6 of 6 strings) Translation: operating-unit-15.0/operating-unit-15.0-mis_builder_operating_unit Translate-URL: https://translation.odoo-community.org/projects/operating-unit-15-0/operating-unit-15-0-mis_builder_operating_unit/it/ --- mis_builder_operating_unit/i18n/it.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mis_builder_operating_unit/i18n/it.po b/mis_builder_operating_unit/i18n/it.po index 033c1f37dd..9d0f01e133 100644 --- a/mis_builder_operating_unit/i18n/it.po +++ b/mis_builder_operating_unit/i18n/it.po @@ -6,21 +6,21 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-12-20 14:39+0000\n" -"Last-Translator: Francesco Foresti \n" +"PO-Revision-Date: 2023-06-07 11:21+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 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__display_name #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance_period__display_name msgid "Display Name" -msgstr "Nome da Visualizzare" +msgstr "Nome visualizzato" #. module: mis_builder_operating_unit #: model:ir.model.fields,field_description:mis_builder_operating_unit.field_mis_report_instance__id From 0a03c82b36a912a240941b9204644030ea1adbd3 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 3 Sep 2023 14:50:44 +0000 Subject: [PATCH 29/39] [UPD] README.rst --- mis_builder_operating_unit/README.rst | 15 +++++--- .../static/description/index.html | 38 ++++++++++--------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/mis_builder_operating_unit/README.rst b/mis_builder_operating_unit/README.rst index 9922307a35..ac58f823d3 100644 --- a/mis_builder_operating_unit/README.rst +++ b/mis_builder_operating_unit/README.rst @@ -2,10 +2,13 @@ MIS Builder with Operating Unit =============================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a1b4bc05bf237ba7dbb4930d26f1eb9724c6faf2dbeeb96cc182ab83de184a94 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ MIS Builder with Operating Unit .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/operating-unit-15-0/operating-unit-15-0-mis_builder_operating_unit :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/213/15.0 - :alt: Try me on Runbot +.. |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=15.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Introduces the operating unit to MIS Builder report instances. @@ -42,7 +45,7 @@ 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 smashing it by providing a detailed and welcomed +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. diff --git a/mis_builder_operating_unit/static/description/index.html b/mis_builder_operating_unit/static/description/index.html index 996b83819e..65b9da19bd 100644 --- a/mis_builder_operating_unit/static/description/index.html +++ b/mis_builder_operating_unit/static/description/index.html @@ -1,20 +1,20 @@ - + - + MIS Builder with Operating Unit