Skip to content

Commit

Permalink
Merge branch '16.0' into odoo-addons16-stock_orderpoint_first_date
Browse files Browse the repository at this point in the history
  • Loading branch information
anajuaristi authored Dec 10, 2024
2 parents efae5a6 + 8445646 commit f64a9a1
Show file tree
Hide file tree
Showing 293 changed files with 8,624 additions and 375 deletions.
30 changes: 30 additions & 0 deletions account_budget_classify_by_mis/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==============================
Account budget classify by mis
==============================

* In analytics budget new field "Mis Report Template".
* In "Budget Line" new field "MY Report KPI", being able to select only those
that belong to "My Report Template" of the analytics budget.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/odoo-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

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

Credits
=======

Contributors
------------

* Ana Juaristi <anajuaristi@avanzosc.es>
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es>
1 change: 1 addition & 0 deletions account_budget_classify_by_mis/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions account_budget_classify_by_mis/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2024 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "Account Budget Classify By Mis",
"version": "16.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/odoo-addons",
"depends": ["account_budget_oca", "mis_builder"],
"data": [
"views/crossovered_budget_views.xml",
"views/crossovered_budget_lines_views.xml",
],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_budget_classify_by_mis
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 07:47+0000\n"
"PO-Revision-Date: 2024-10-31 07:47+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Analytic Account"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Budget"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget_lines
msgid "Budget Line"
msgstr ""

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Group By"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_kpi_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "MIS Report KPI"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget__mis_report_template_id
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_template_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Mis Report Template"
msgstr ""
52 changes: 52 additions & 0 deletions account_budget_classify_by_mis/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_budget_classify_by_mis
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 07:47+0000\n"
"PO-Revision-Date: 2024-10-31 07:47+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Analytic Account"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Budget"
msgstr "Pressupost"

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget_lines
msgid "Budget Line"
msgstr "Línia de pressupost"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Group By"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_kpi_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "MIS Report KPI"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget__mis_report_template_id
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_template_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Mis Report Template"
msgstr ""
52 changes: 52 additions & 0 deletions account_budget_classify_by_mis/i18n/en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_budget_classify_by_mis
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 07:48+0000\n"
"PO-Revision-Date: 2024-10-31 07:48+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Analytic Account"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Budget"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget_lines
msgid "Budget Line"
msgstr ""

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Group By"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_kpi_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "MIS Report KPI"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget__mis_report_template_id
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_template_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Mis Report Template"
msgstr ""
52 changes: 52 additions & 0 deletions account_budget_classify_by_mis/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_budget_classify_by_miss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 07:48+0000\n"
"PO-Revision-Date: 2024-10-31 07:48+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_budget_classify_by_miss
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_line_search
msgid "Analytic Account"
msgstr "Cuenta analítica"

#. module: account_budget_classify_by_miss
#: model:ir.model,name:account_budget_classify_by_miss.model_crossovered_budget
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_line_search
msgid "Budget"
msgstr "Presupuesto"

#. module: account_budget_classify_by_miss
#: model:ir.model,name:account_budget_classify_by_miss.model_crossovered_budget_lines
msgid "Budget Line"
msgstr "Línea de Presupuesto"

#. module: account_budget_classify_by_miss
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_search
msgid "Group By"
msgstr "Agrupar por"

#. module: account_budget_classify_by_miss
#: model:ir.model.fields,field_description:account_budget_classify_by_miss.field_crossovered_budget_lines__mis_report_kpi_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_line_search
msgid "MIS Report KPI"
msgstr "KPI de informe MIS"

#. module: account_budget_classify_by_miss
#: model:ir.model.fields,field_description:account_budget_classify_by_miss.field_crossovered_budget__mis_report_template_id
#: model:ir.model.fields,field_description:account_budget_classify_by_miss.field_crossovered_budget_lines__mis_report_template_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_miss.view_crossovered_budget_search
msgid "Mis Report Template"
msgstr "Plantilla de presupuesto MIS"
52 changes: 52 additions & 0 deletions account_budget_classify_by_mis/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_budget_classify_by_mis
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 07:48+0000\n"
"PO-Revision-Date: 2024-10-31 07:48+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Analytic Account"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "Budget"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model,name:account_budget_classify_by_mis.model_crossovered_budget_lines
msgid "Budget Line"
msgstr "Ligne de budget"

#. module: account_budget_classify_by_mis
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Group By"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_kpi_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
msgid "MIS Report KPI"
msgstr ""

#. module: account_budget_classify_by_mis
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget__mis_report_template_id
#: model:ir.model.fields,field_description:account_budget_classify_by_mis.field_crossovered_budget_lines__mis_report_template_id
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_line_search
#: model_terms:ir.ui.view,arch_db:account_budget_classify_by_mis.view_crossovered_budget_search
msgid "Mis Report Template"
msgstr ""
2 changes: 2 additions & 0 deletions account_budget_classify_by_mis/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import crossovered_budget
from . import crossovered_budget_lines
11 changes: 11 additions & 0 deletions account_budget_classify_by_mis/models/crossovered_budget.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2024 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from odoo import fields, models


class CrossoveredBudget(models.Model):
_inherit = "crossovered.budget"

mis_report_template_id = fields.Many2one(
string="Mis Report Template", comodel_name="mis.report", copy=False
)
14 changes: 14 additions & 0 deletions account_budget_classify_by_mis/models/crossovered_budget_lines.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2024 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from odoo import fields, models


class CrossoveredBudgetLines(models.Model):
_inherit = "crossovered.budget.lines"

mis_report_template_id = fields.Many2one(
string="Mis Report Template", comodel_name="mis.report", copy=False
)
mis_report_kpi_id = fields.Many2one(
string="MIS Report KPI", comodel_name="mis.report.kpi", copy=False
)
Loading

0 comments on commit f64a9a1

Please sign in to comment.