-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '16.0' into odoo-addons16-stock_orderpoint_first_date
- Loading branch information
Showing
293 changed files
with
8,624 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
52 changes: 52 additions & 0 deletions
52
account_budget_classify_by_mis/i18n/account_budget_classify_by_miss.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
account_budget_classify_by_mis/models/crossovered_budget.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
account_budget_classify_by_mis/models/crossovered_budget_lines.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
) |
Oops, something went wrong.