Browse Source

Merge PR #676 into 13.0

Signed-off-by AaronHForgeFlow
pull/692/head
OCA-git-bot 5 years ago
parent
commit
683e59df16
  1. 102
      mis_builder_cash_flow/README.rst
  2. 4
      mis_builder_cash_flow/__init__.py
  3. 23
      mis_builder_cash_flow/__manifest__.py
  4. 109
      mis_builder_cash_flow/data/mis_report.xml
  5. 132
      mis_builder_cash_flow/data/mis_report_instance.xml
  6. 61
      mis_builder_cash_flow/data/mis_report_style.xml
  7. 301
      mis_builder_cash_flow/i18n/ca.po
  8. 301
      mis_builder_cash_flow/i18n/ca_ES.po
  9. 303
      mis_builder_cash_flow/i18n/es.po
  10. 301
      mis_builder_cash_flow/i18n/mis_builder_cash_flow.pot
  11. 303
      mis_builder_cash_flow/i18n/pt.po
  12. 4
      mis_builder_cash_flow/models/__init__.py
  13. 10
      mis_builder_cash_flow/models/account_account.py
  14. 35
      mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py
  15. 3
      mis_builder_cash_flow/readme/CONTRIBUTORS.rst
  16. 5
      mis_builder_cash_flow/readme/DESCRIPTION.rst
  17. 3
      mis_builder_cash_flow/readme/ROADMAP.rst
  18. 4
      mis_builder_cash_flow/readme/USAGE.rst
  19. 3
      mis_builder_cash_flow/report/__init__.py
  20. 118
      mis_builder_cash_flow/report/mis_cash_flow.py
  21. 105
      mis_builder_cash_flow/report/mis_cash_flow_views.xml
  22. 23
      mis_builder_cash_flow/security/mis_cash_flow_security.xml
  23. BIN
      mis_builder_cash_flow/static/description/icon.png
  24. 444
      mis_builder_cash_flow/static/description/index.html
  25. 1
      mis_builder_cash_flow/tests/__init__.py
  26. 157
      mis_builder_cash_flow/tests/test_cash_flow.py
  27. 15
      mis_builder_cash_flow/views/account_account_views.xml
  28. 92
      mis_builder_cash_flow/views/mis_cash_flow_forecast_line_views.xml
  29. 1
      oca_dependencies.txt

102
mis_builder_cash_flow/README.rst

@ -0,0 +1,102 @@
=====================
MIS Builder Cash Flow
=====================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Faccount--financial--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-reporting/tree/12.0/mis_builder_cash_flow
:alt: OCA/account-financial-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-mis_builder_cash_flow
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/91/12.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
This module allows you to have a cash flow forecast.
The forecast is based on two types of date:
* Accounting entries: Due date field instead of Date
* Forecast lines: manual lines created that forecast in/out cashflow moves.
**Table of contents**
.. contents::
:local:
Usage
=====
To use this module, you need to:
#. Go to Accounting > Reports > MIS Reporting > MIS Reports and choose "Cash Flow" report
#. You can add forecast lines on Accounting > Reports > MIS Reporting > Cash Flow Forecast Line
Known issues / Roadmap
======================
The mis_builder `roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`_
and `known issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`_ can
be found on GitHub.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/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 <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20mis_builder_cash_flow%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* ADHOC SA
Contributors
~~~~~~~~~~~~
* Juan José Scarafía <jjs@adhoc.com.ar>
* Gonzalo Ruzafa <gr@adhoc.com.ar>
* Alberto Martín <alberto.martin@guadaltech.es>
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.
.. |maintainer-jjscarafia| image:: https://github.com/jjscarafia.png?size=40px
:target: https://github.com/jjscarafia
:alt: jjscarafia
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-jjscarafia|
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/12.0/mis_builder_cash_flow>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

4
mis_builder_cash_flow/__init__.py

@ -0,0 +1,4 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
from . import report

23
mis_builder_cash_flow/__manifest__.py

@ -0,0 +1,23 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "MIS Builder Cash Flow",
"version": "13.0.1.0.0",
"license": "LGPL-3",
"author": "ADHOC SA, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/mis-builder",
"depends": ["mis_builder"],
"data": [
"security/mis_cash_flow_security.xml",
"report/mis_cash_flow_views.xml",
"views/mis_cash_flow_forecast_line_views.xml",
"views/account_account_views.xml",
"data/mis_report_style.xml",
"data/mis_report.xml",
"data/mis_report_instance.xml",
],
"installable": True,
"maintainers": ["jjscarafia"],
"development_status": "Beta",
}

109
mis_builder_cash_flow/data/mis_report.xml

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="True">
<record id="mis_report_cash_flow" model="mis.report">
<field name="name">Cash Flow</field>
<field name="style_id" ref="mis_style_cash_flow" />
</record>
<record id="mis_kpi_aliquidity" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">liquidity</field>
<field name="description">LIQUIDITY</field>
<field name="style_id" ref="mis_style_account_sub_total" />
<field name="auto_expand_accounts" eval="True" />
<field name="auto_expand_accounts_style_id" ref="mis_style_account_detail" />
<field name="sequence">20</field>
<field
name="expression"
>bal[][('account_internal_type', '=', 'liquidity'), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
</record>
<record id="mis_kpi_in_total" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">in_total</field>
<field name="description">IN TOTAL</field>
<field name="style_id" ref="mis_style_account_sub_total" />
<field name="sequence">30</field>
<field name="expression">in_receivable + in_forecast</field>
</record>
<record id="mis_kpi_in_receivable" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">in_receivable</field>
<field name="description">In receivable</field>
<field name="style_id" ref="mis_style_account_line" />
<field name="auto_expand_accounts" eval="True" />
<field name="auto_expand_accounts_style_id" ref="mis_style_account_detail" />
<field name="sequence">50</field>
<field
name="expression"
>bal[][('account_internal_type', '=', 'receivable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
</record>
<record id="mis_kpi_in_forecast" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">in_forecast</field>
<field name="description">In forecast</field>
<field name="style_id" ref="mis_style_account_line" />
<field name="auto_expand_accounts" eval="True" />
<field name="auto_expand_accounts_style_id" ref="mis_style_account_detail" />
<field name="sequence">70</field>
<field
name="expression"
>bal[][('line_type', '=', 'forecast_line'), ('debit', '!=', 0.0), ('account_id.hide_in_cash_flow', '=', False)]</field>
</record>
<record id="mis_kpi_out_total" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">out_total</field>
<field name="description">OUT TOTAL</field>
<field name="style_id" ref="mis_style_account_sub_total" />
<field name="sequence">80</field>
<field name="expression">out_payable + out_forecast</field>
</record>
<record id="mis_kpi_out_payable" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">out_payable</field>
<field name="description">Out payable</field>
<field name="style_id" ref="mis_style_account_line" />
<field name="auto_expand_accounts" eval="True" />
<field name="auto_expand_accounts_style_id" ref="mis_style_account_detail" />
<field name="sequence">100</field>
<field
name="expression"
>bal[][('account_internal_type', '=', 'payable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
</record>
<record id="mis_kpi_out_forecast" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">out_forecast</field>
<field name="description">Out forecast</field>
<field name="style_id" ref="mis_style_account_line" />
<field name="auto_expand_accounts" eval="True" />
<field name="auto_expand_accounts_style_id" ref="mis_style_account_detail" />
<field name="sequence">120</field>
<field
name="expression"
>bal[][('line_type', '=', 'forecast_line'), ('credit', '!=', 0.0), ('account_id.hide_in_cash_flow', '=', False)]</field>
</record>
<record id="mis_kpi_period_balance" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">period_balance</field>
<field name="description">PERIOD BALANCE</field>
<field name="style_id" ref="mis_style_account_sub_total" />
<field name="sequence">130</field>
<field name="expression">in_total + out_total</field>
<field
name="style_expression"
>'Cash Flow - Good' if period_balance >= 0.0 else 'Cash Flow - Bad'</field>
</record>
<record id="mis_kpi_balance" model="mis.report.kpi">
<field name="report_id" ref="mis_report_cash_flow" />
<field name="name">balance</field>
<field name="description">BALANCE</field>
<field name="style_id" ref="mis_style_account_total" />
<field name="sequence">150</field>
<field
name="expression"
>bale[][('account_id.hide_in_cash_flow', '=', False), '|', ('line_type', '=', 'forecast_line'), ('line_type', '=', 'move_line'), '|', ('account_internal_type', '=', 'liquidity'), ('account_internal_type', 'in', ('receivable', 'payable')), ('full_reconcile_id', '=', False)]</field>
<field
name="style_expression"
>'Cash Flow - Good' if balance >= 0.0 else 'Cash Flow - Bad'</field>
</record>
</odoo>

132
mis_builder_cash_flow/data/mis_report_instance.xml

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="True">
<record id="mis_instance_cash_flow" model="mis.report.instance">
<field name="name">Cash Flow</field>
<field name="report_id" ref="mis_report_cash_flow" />
<field name="comparison_mode" eval="True" />
<field name="landscape_pdf" eval="True" />
</record>
<record id="mis_period_current" model="mis.report.instance.period">
<field name="name">Current</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">-4000</field>
<field name="duration">4001</field>
<field name="sequence">4</field>
</record>
<record id="mis_period_plus_1w" model="mis.report.instance.period">
<field name="name">+1w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">1</field>
<field name="duration">1</field>
<field name="sequence">10</field>
</record>
<record id="mis_period_plus_2w" model="mis.report.instance.period">
<field name="name">+2w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">2</field>
<field name="duration">1</field>
<field name="sequence">20</field>
</record>
<record id="mis_period_plus_3w" model="mis.report.instance.period">
<field name="name">+3w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">3</field>
<field name="duration">1</field>
<field name="sequence">30</field>
</record>
<record id="mis_period_plus_4w" model="mis.report.instance.period">
<field name="name">+4w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">4</field>
<field name="duration">1</field>
<field name="sequence">40</field>
</record>
<record id="mis_period_plus_5w" model="mis.report.instance.period">
<field name="name">+5w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">5</field>
<field name="duration">1</field>
<field name="sequence">50</field>
</record>
<record id="mis_period_plus_6w" model="mis.report.instance.period">
<field name="name">+6w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">6</field>
<field name="duration">1</field>
<field name="sequence">60</field>
</record>
<record id="mis_period_plus_7w" model="mis.report.instance.period">
<field name="name">+7w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">7</field>
<field name="duration">1</field>
<field name="sequence">70</field>
</record>
<record id="mis_period_plus_8w" model="mis.report.instance.period">
<field name="name">+8w</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">8</field>
<field name="duration">1</field>
<field name="sequence">80</field>
</record>
<record id="mis_period_plus_third_month" model="mis.report.instance.period">
<field name="name">third month</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">9</field>
<field name="duration">4</field>
<field name="sequence">90</field>
</record>
<record id="mis_period_plus_fourth_month" model="mis.report.instance.period">
<field name="name">fourth month</field>
<field name="report_instance_id" ref="mis_instance_cash_flow" />
<field name="source">actuals_alt</field>
<field name="source_aml_model_id" ref="model_mis_cash_flow" />
<field name="mode">relative</field>
<field name="type">w</field>
<field name="offset">13</field>
<field name="duration">4</field>
<field name="sequence">90</field>
</record>
</odoo>

61
mis_builder_cash_flow/data/mis_report_style.xml

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="True">
<record id="mis_style_cash_flow" model="mis.report.style">
<field name="name">Cash Flow</field>
<field name="hide_empty_inherit" eval="False" />
<field name="hide_empty" eval="True" />
</record>
<record id="mis_style_account_detail" model="mis.report.style">
<field name="name">Cash flow style account detail</field>
<field name="font_style_inherit" eval="False" />
<field name="font_style">italic</field>
<field name="indent_level_inherit" eval="False" />
<field name="indent_level">2</field>
<field name="font_size_inherit" eval="False" />
<field name="font_size">x-small</field>
</record>
<record id="mis_style_account_line" model="mis.report.style">
<field name="name">Cash flow line</field>
<field name="color_inherit" eval="False" />
<field name="color">#FFFFFF</field>
<field name="background_color_inherit" eval="False" />
<field name="background_color">#D4AFC4</field>
<field name="indent_level_inherit" eval="False" />
<field name="indent_level">1</field>
</record>
<record id="mis_style_account_sub_total" model="mis.report.style">
<field name="name">Cash flow style sub-total</field>
<field name="color_inherit" eval="False" />
<field name="color">#FFFFFF</field>
<field name="background_color_inherit" eval="False" />
<field name="background_color">#967C8B</field>
<field name="font_weight_inherit" eval="False" />
<field name="font_weight">bold</field>
</record>
<record id="mis_style_account_total" model="mis.report.style">
<field name="name">Cash flow style total</field>
<field name="color_inherit" eval="False" />
<field name="color">#FFFFFF</field>
<field name="background_color_inherit" eval="False" />
<field name="background_color">#7A6571</field>
<field name="font_weight_inherit" eval="False" />
<field name="font_weight">bold</field>
</record>
<record id="mis_style_hidden" model="mis.report.style">
<field name="name">Cash Flow - hidden</field>
<field name="hide_always_inherit" eval="False" />
<field name="hide_always" eval="True" />
</record>
<record id="mis_style_good" model="mis.report.style">
<field name="name">Cash Flow - Good</field>
<field name="color_inherit" eval="False" />
<field name="color">#005700</field>
</record>
<record id="mis_style_bad" model="mis.report.style">
<field name="name">Cash Flow - Bad</field>
<field name="color_inherit" eval="False" />
<field name="color">#7A0000</field>
</record>
</odoo>

301
mis_builder_cash_flow/i18n/ca.po

@ -0,0 +1,301 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_builder_cash_flow
#
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: ca\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_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_1w
msgid "+1w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_2w
msgid "+2w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_3w
msgid "+3w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_4w
msgid "+4w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_5w
msgid "+5w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_6w
msgid "+6w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_7w
msgid "+7w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_8w
msgid "+8w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_account_account
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__account_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Account"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_balance
msgid "BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__balance
msgid "Balance"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report,name:mis_builder_cash_flow.mis_report_cash_flow
#: model:mis.report.instance,name:mis_builder_cash_flow.mis_instance_cash_flow
msgid "Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.actions.act_window,name:mis_builder_cash_flow.action_mis_cash_flow_forecast_line
#: model:ir.ui.menu,name:mis_builder_cash_flow.menu_mis_cash_flow_forecast_line
msgid "Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__company_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__company_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Company"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_uid
msgid "Created by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_date
msgid "Created on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__credit
msgid "Credit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_current
msgid "Current"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__date
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__date
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Date"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__debit
msgid "Debit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__display_name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__display_name
msgid "Display Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_account_account__hide_in_cash_flow
msgid "Hide in Cash Flow?"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__id
msgid "ID"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_total
msgid "IN TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_forecast
msgid "In forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_receivable
msgid "In receivable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__move_line_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Journal Item"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Journal items where matching number isn't set"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_aliquidity
msgid "LIQUIDITY"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow____last_update
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line____last_update
msgid "Last Modified on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_uid
msgid "Last Updated by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_date
msgid "Last Updated on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__line_type
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Line Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow
msgid "MIS Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow_forecast_line
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_form
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_tree
msgid "MIS Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__full_reconcile_id
msgid "Matching Number"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__name
msgid "Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_total
msgid "OUT TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Open Journal Item / Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_forecast
msgid "Out forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_payable
msgid "Out payable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_period_balance
msgid "PERIOD BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__partner_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__partner_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
msgid "Partner"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__reconciled
msgid "Reconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: code:addons/mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py:46
#, python-format
msgid "The Company and the Company of the Account must be the same."
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,help:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
msgid "The account of the forecast line is only for informative purpose"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_form_view
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Total"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Unreconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__user_type_id
msgid "User Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_fourth_month
msgid "fourth month"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_third_month
msgid "third month"
msgstr ""

301
mis_builder_cash_flow/i18n/ca_ES.po

@ -0,0 +1,301 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_builder_cash_flow
#
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: ca_ES\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_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_1w
msgid "+1w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_2w
msgid "+2w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_3w
msgid "+3w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_4w
msgid "+4w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_5w
msgid "+5w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_6w
msgid "+6w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_7w
msgid "+7w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_8w
msgid "+8w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_account_account
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__account_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Account"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_balance
msgid "BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__balance
msgid "Balance"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report,name:mis_builder_cash_flow.mis_report_cash_flow
#: model:mis.report.instance,name:mis_builder_cash_flow.mis_instance_cash_flow
msgid "Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.actions.act_window,name:mis_builder_cash_flow.action_mis_cash_flow_forecast_line
#: model:ir.ui.menu,name:mis_builder_cash_flow.menu_mis_cash_flow_forecast_line
msgid "Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__company_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__company_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Company"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_uid
msgid "Created by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_date
msgid "Created on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__credit
msgid "Credit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_current
msgid "Current"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__date
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__date
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Date"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__debit
msgid "Debit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__display_name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__display_name
msgid "Display Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_account_account__hide_in_cash_flow
msgid "Hide in Cash Flow?"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__id
msgid "ID"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_total
msgid "IN TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_forecast
msgid "In forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_receivable
msgid "In receivable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__move_line_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Journal Item"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Journal items where matching number isn't set"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_aliquidity
msgid "LIQUIDITY"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow____last_update
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line____last_update
msgid "Last Modified on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_uid
msgid "Last Updated by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_date
msgid "Last Updated on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__line_type
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Line Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow
msgid "MIS Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow_forecast_line
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_form
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_tree
msgid "MIS Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__full_reconcile_id
msgid "Matching Number"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__name
msgid "Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_total
msgid "OUT TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Open Journal Item / Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_forecast
msgid "Out forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_payable
msgid "Out payable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_period_balance
msgid "PERIOD BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__partner_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__partner_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
msgid "Partner"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__reconciled
msgid "Reconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: code:addons/mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py:46
#, python-format
msgid "The Company and the Company of the Account must be the same."
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,help:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
msgid "The account of the forecast line is only for informative purpose"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_form_view
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Total"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Unreconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__user_type_id
msgid "User Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_fourth_month
msgid "fourth month"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_third_month
msgid "third month"
msgstr ""

303
mis_builder_cash_flow/i18n/es.po

@ -0,0 +1,303 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_builder_cash_flow
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-02-27 22:13+0000\n"
"Last-Translator: Carles Antoli <carlesantoli@hotmail.com>\n"
"Language-Team: none\n"
"Language: es\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_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_1w
msgid "+1w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_2w
msgid "+2w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_3w
msgid "+3w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_4w
msgid "+4w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_5w
msgid "+5w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_6w
msgid "+6w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_7w
msgid "+7w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_8w
msgid "+8w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_account_account
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__account_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Account"
msgstr "Cuenta"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_balance
msgid "BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__balance
msgid "Balance"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report,name:mis_builder_cash_flow.mis_report_cash_flow
#: model:mis.report.instance,name:mis_builder_cash_flow.mis_instance_cash_flow
msgid "Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.actions.act_window,name:mis_builder_cash_flow.action_mis_cash_flow_forecast_line
#: model:ir.ui.menu,name:mis_builder_cash_flow.menu_mis_cash_flow_forecast_line
msgid "Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__company_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__company_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Company"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_uid
msgid "Created by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_date
msgid "Created on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__credit
msgid "Credit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_current
msgid "Current"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__date
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__date
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Date"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__debit
msgid "Debit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__display_name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__display_name
msgid "Display Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_account_account__hide_in_cash_flow
msgid "Hide in Cash Flow?"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__id
msgid "ID"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_total
msgid "IN TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_forecast
msgid "In forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_receivable
msgid "In receivable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__move_line_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Journal Item"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Journal items where matching number isn't set"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_aliquidity
msgid "LIQUIDITY"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow____last_update
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line____last_update
msgid "Last Modified on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_uid
msgid "Last Updated by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_date
msgid "Last Updated on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__line_type
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Line Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow
msgid "MIS Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow_forecast_line
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_form
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_tree
msgid "MIS Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__full_reconcile_id
msgid "Matching Number"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__name
msgid "Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_total
msgid "OUT TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Open Journal Item / Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_forecast
msgid "Out forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_payable
msgid "Out payable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_period_balance
msgid "PERIOD BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__partner_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__partner_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
msgid "Partner"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__reconciled
msgid "Reconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: code:addons/mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py:46
#, python-format
msgid "The Company and the Company of the Account must be the same."
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,help:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
msgid "The account of the forecast line is only for informative purpose"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_form_view
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Total"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Unreconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__user_type_id
msgid "User Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_fourth_month
msgid "fourth month"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_third_month
msgid "third month"
msgstr "tercer mes"

301
mis_builder_cash_flow/i18n/mis_builder_cash_flow.pot

@ -0,0 +1,301 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_builder_cash_flow
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.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_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_1w
msgid "+1w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_2w
msgid "+2w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_3w
msgid "+3w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_4w
msgid "+4w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_5w
msgid "+5w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_6w
msgid "+6w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_7w
msgid "+7w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_8w
msgid "+8w"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_account_account
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__account_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Account"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_balance
msgid "BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__balance
msgid "Balance"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report,name:mis_builder_cash_flow.mis_report_cash_flow
#: model:mis.report.instance,name:mis_builder_cash_flow.mis_instance_cash_flow
msgid "Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.actions.act_window,name:mis_builder_cash_flow.action_mis_cash_flow_forecast_line
#: model:ir.ui.menu,name:mis_builder_cash_flow.menu_mis_cash_flow_forecast_line
msgid "Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__company_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__company_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Company"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_uid
msgid "Created by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_date
msgid "Created on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__credit
msgid "Credit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_current
msgid "Current"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__date
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__date
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Date"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__debit
msgid "Debit"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__display_name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__display_name
msgid "Display Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_account_account__hide_in_cash_flow
msgid "Hide in Cash Flow?"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__id
msgid "ID"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_total
msgid "IN TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_forecast
msgid "In forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_receivable
msgid "In receivable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__move_line_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Journal Item"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Journal items where matching number isn't set"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_aliquidity
msgid "LIQUIDITY"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow____last_update
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line____last_update
msgid "Last Modified on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_uid
msgid "Last Updated by"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_date
msgid "Last Updated on"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__line_type
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Line Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow
msgid "MIS Cash Flow"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow_forecast_line
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_form
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_tree
msgid "MIS Cash Flow Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__full_reconcile_id
msgid "Matching Number"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__name
msgid "Name"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_total
msgid "OUT TOTAL"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Open Journal Item / Forecast Line"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_forecast
msgid "Out forecast"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_payable
msgid "Out payable"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_period_balance
msgid "PERIOD BALANCE"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__partner_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__partner_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
msgid "Partner"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__reconciled
msgid "Reconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: code:addons/mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py:46
#, python-format
msgid "The Company and the Company of the Account must be the same."
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,help:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
msgid "The account of the forecast line is only for informative purpose"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_form_view
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Total"
msgstr ""
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Unreconciled"
msgstr ""
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__user_type_id
msgid "User Type"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_fourth_month
msgid "fourth month"
msgstr ""
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_third_month
msgid "third month"
msgstr ""

303
mis_builder_cash_flow/i18n/pt.po

@ -0,0 +1,303 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mis_builder_cash_flow
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-04-07 19:19+0000\n"
"Last-Translator: alvarorib <alvaro.ribeiro@exo.pt>\n"
"Language-Team: none\n"
"Language: pt\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_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_1w
msgid "+1w"
msgstr "+1s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_2w
msgid "+2w"
msgstr "+2s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_3w
msgid "+3w"
msgstr "+3s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_4w
msgid "+4w"
msgstr "+4s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_5w
msgid "+5w"
msgstr "+5s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_6w
msgid "+6w"
msgstr "+6s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_7w
msgid "+7w"
msgstr "+7s"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_8w
msgid "+8w"
msgstr "+8s"
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_account_account
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__account_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Account"
msgstr "Conta"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_balance
msgid "BALANCE"
msgstr "SALDO"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__balance
msgid "Balance"
msgstr "Saldo"
#. module: mis_builder_cash_flow
#: model:mis.report,name:mis_builder_cash_flow.mis_report_cash_flow
#: model:mis.report.instance,name:mis_builder_cash_flow.mis_instance_cash_flow
msgid "Cash Flow"
msgstr "Fluxo de Tesouraria"
#. module: mis_builder_cash_flow
#: model:ir.actions.act_window,name:mis_builder_cash_flow.action_mis_cash_flow_forecast_line
#: model:ir.ui.menu,name:mis_builder_cash_flow.menu_mis_cash_flow_forecast_line
msgid "Cash Flow Forecast Line"
msgstr "Linha de Previsão de Fluxo de Tesouraria"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__company_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__company_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Company"
msgstr "Empresa"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_uid
msgid "Created by"
msgstr "Criado por"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__create_date
msgid "Created on"
msgstr "Criado em"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__credit
msgid "Credit"
msgstr "Crédito"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_current
msgid "Current"
msgstr "Corrente"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__date
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__date
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Date"
msgstr "Data"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__debit
msgid "Debit"
msgstr "Débito"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__display_name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__display_name
msgid "Display Name"
msgstr "Exibir nome"
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Forecast Line"
msgstr "Linha de Previsão"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_account_account__hide_in_cash_flow
msgid "Hide in Cash Flow?"
msgstr "Escondido no Fluxo de Tesouraria?"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__id
msgid "ID"
msgstr "ID"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_total
msgid "IN TOTAL"
msgstr "NO TOTAL"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_forecast
msgid "In forecast"
msgstr "Na previsão"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_in_receivable
msgid "In receivable"
msgstr "Em recebível"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__move_line_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
#: selection:mis.cash_flow,line_type:0
msgid "Journal Item"
msgstr "Item de Diário"
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Journal items where matching number isn't set"
msgstr "Itens de diário em que o número correspondente não está definido"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_aliquidity
msgid "LIQUIDITY"
msgstr "LIQUIDEZ"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow____last_update
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line____last_update
msgid "Last Modified on"
msgstr "Última modificação em"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_uid
msgid "Last Updated by"
msgstr "Última Atualização por"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__write_date
msgid "Last Updated on"
msgstr "Última Atualização em"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__line_type
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Line Type"
msgstr "Tipo de Linha"
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow
msgid "MIS Cash Flow"
msgstr "Fluxo de Tesouraria MIS"
#. module: mis_builder_cash_flow
#: model:ir.model,name:mis_builder_cash_flow.model_mis_cash_flow_forecast_line
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_form
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_tree
msgid "MIS Cash Flow Forecast Line"
msgstr "Linha de Previsão de Fluxo de Tesouraria MIS"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__full_reconcile_id
msgid "Matching Number"
msgstr "Número de Matching"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__name
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__name
msgid "Name"
msgstr "Nome"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_total
msgid "OUT TOTAL"
msgstr "FORA DO TOTAL"
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Open Journal Item / Forecast Line"
msgstr "Item de Diário em Aberto / Linha de Previsão"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_forecast
msgid "Out forecast"
msgstr "Fora da Previsão"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_out_payable
msgid "Out payable"
msgstr "Fora dos Pagáveis"
#. module: mis_builder_cash_flow
#: model:mis.report.kpi,description:mis_builder_cash_flow.mis_kpi_period_balance
msgid "PERIOD BALANCE"
msgstr "SALDO DO PERÍODO"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__partner_id
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__partner_id
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_forecast_line_view_search
msgid "Partner"
msgstr "Parceiro"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__reconciled
msgid "Reconciled"
msgstr "Reconciliado"
#. module: mis_builder_cash_flow
#: code:addons/mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py:46
#, python-format
msgid "The Company and the Company of the Account must be the same."
msgstr "A Empresa e a Empresa da Conta devem ser as mesmas."
#. module: mis_builder_cash_flow
#: model:ir.model.fields,help:mis_builder_cash_flow.field_mis_cash_flow_forecast_line__account_id
msgid "The account of the forecast line is only for informative purpose"
msgstr "A conta da linha de previsão serve apenas fins informativos"
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_form_view
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_tree_view
msgid "Total"
msgstr "Total"
#. module: mis_builder_cash_flow
#: model_terms:ir.ui.view,arch_db:mis_builder_cash_flow.mis_cash_flow_search_view
msgid "Unreconciled"
msgstr "Não Reconciliado"
#. module: mis_builder_cash_flow
#: model:ir.model.fields,field_description:mis_builder_cash_flow.field_mis_cash_flow__user_type_id
msgid "User Type"
msgstr "Tipo de Utilizador"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_fourth_month
msgid "fourth month"
msgstr "quarto mês"
#. module: mis_builder_cash_flow
#: model:mis.report.instance.period,name:mis_builder_cash_flow.mis_period_plus_third_month
msgid "third month"
msgstr "terceiro mês"

4
mis_builder_cash_flow/models/__init__.py

@ -0,0 +1,4 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import mis_cash_flow_forecast_line
from . import account_account

10
mis_builder_cash_flow/models/account_account.py

@ -0,0 +1,10 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AccountAccount(models.Model):
_inherit = "account.account"
hide_in_cash_flow = fields.Boolean(string="Hide in Cash Flow?",)

35
mis_builder_cash_flow/models/mis_cash_flow_forecast_line.py

@ -0,0 +1,35 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
class MisCashFlowForecastLine(models.Model):
_name = "mis.cash_flow.forecast_line"
_description = "MIS Cash Flow Forecast Line"
date = fields.Date(required=True, index=True,)
account_id = fields.Many2one(
comodel_name="account.account",
string="Account",
required=True,
help="The account of the forecast line is only for informative purpose",
)
partner_id = fields.Many2one(comodel_name="res.partner", string="Partner",)
name = fields.Char(required=True, default="/",)
balance = fields.Float(required=True,)
company_id = fields.Many2one(
"res.company",
string="Company",
required=True,
default=lambda self: self.env.user.company_id.id,
index=True,
)
@api.constrains("company_id", "account_id")
def _check_company_id_account_id(self):
if self.filtered(lambda x: x.company_id != x.account_id.company_id):
raise ValidationError(
_("The Company and the Company of the Account must be the same.")
)

3
mis_builder_cash_flow/readme/CONTRIBUTORS.rst

@ -0,0 +1,3 @@
* Juan José Scarafía <jjs@adhoc.com.ar>
* Gonzalo Ruzafa <gr@adhoc.com.ar>
* Alberto Martín <alberto.martin@guadaltech.es>

5
mis_builder_cash_flow/readme/DESCRIPTION.rst

@ -0,0 +1,5 @@
This module allows you to have a cash flow forecast.
The forecast is based on two types of date:
* Accounting entries: Due date field instead of Date
* Forecast lines: manual lines created that forecast in/out cashflow moves.

3
mis_builder_cash_flow/readme/ROADMAP.rst

@ -0,0 +1,3 @@
The mis_builder `roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`_
and `known issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`_ can
be found on GitHub.

4
mis_builder_cash_flow/readme/USAGE.rst

@ -0,0 +1,4 @@
To use this module, you need to:
#. Go to Accounting > Reports > MIS Reporting > MIS Reports and choose "Cash Flow" report
#. You can add forecast lines on Accounting > Reports > MIS Reporting > Cash Flow Forecast Line

3
mis_builder_cash_flow/report/__init__.py

@ -0,0 +1,3 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import mis_cash_flow

118
mis_builder_cash_flow/report/mis_cash_flow.py

@ -0,0 +1,118 @@
# Copyright 2019 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from psycopg2.extensions import AsIs
from odoo import fields, models, tools
class MisCashFlow(models.Model):
_name = "mis.cash_flow"
_description = "MIS Cash Flow"
_auto = False
line_type = fields.Selection(
[("forecast_line", "Forecast Line"), ("move_line", "Journal Item")],
index=True,
readonly=True,
)
name = fields.Char(readonly=True,)
account_id = fields.Many2one(
comodel_name="account.account",
string="Account",
auto_join=True,
index=True,
readonly=True,
)
partner_id = fields.Many2one(
comodel_name="res.partner", string="Partner", readonly=True,
)
move_line_id = fields.Many2one(
comodel_name="account.move.line",
string="Journal Item",
auto_join=True,
readonly=True,
)
company_id = fields.Many2one(
comodel_name="res.company",
string="Company",
auto_join=True,
readonly=True,
index=True,
)
credit = fields.Float(readonly=True,)
debit = fields.Float(readonly=True,)
date = fields.Date(readonly=True, index=True,)
reconciled = fields.Boolean(readonly=True,)
full_reconcile_id = fields.Many2one(
"account.full.reconcile", string="Matching Number", readonly=True, index=True,
)
account_internal_type = fields.Selection(
related="account_id.user_type_id.type", readonly=True
)
def init(self):
query = """
SELECT
-- we use negative id to avoid duplicates and we don't use
-- ROW_NUMBER() because the performance was very poor
-aml.id as id,
CAST('move_line' AS varchar) as line_type,
aml.id as move_line_id,
aml.account_id as account_id,
CASE
WHEN aml.amount_residual > 0
THEN aml.amount_residual
ELSE 0.0
END AS debit,
CASE
WHEN aml.amount_residual < 0
THEN -aml.amount_residual
ELSE 0.0
END AS credit,
aml.reconciled as reconciled,
aml.full_reconcile_id as full_reconcile_id,
aml.partner_id as partner_id,
aml.company_id as company_id,
aml.name as name,
COALESCE(aml.date_maturity, aml.date) as date
FROM account_move_line as aml
UNION ALL
SELECT
fl.id as id,
CAST('forecast_line' AS varchar) as line_type,
NULL as move_line_id,
fl.account_id as account_id,
CASE
WHEN fl.balance > 0
THEN fl.balance
ELSE 0.0
END AS debit,
CASE
WHEN fl.balance < 0
THEN -fl.balance
ELSE 0.0
END AS credit,
NULL as reconciled,
NULL as full_reconcile_id,
fl.partner_id as partner_id,
fl.company_id as company_id,
fl.name as name,
fl.date as date
FROM mis_cash_flow_forecast_line as fl
"""
tools.drop_view_if_exists(self.env.cr, self._table)
self._cr.execute(
"CREATE OR REPLACE VIEW %s AS (%s)", (AsIs(self._table), AsIs(query))
)
def action_open_related_line(self):
self.ensure_one()
if self.line_type == "move_line":
return self.move_line_id.get_formview_action()
else:
return (
self.env["mis.cash_flow.forecast_line"]
.browse(self.id)
.get_formview_action()
)

105
mis_builder_cash_flow/report/mis_cash_flow_views.xml

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record model="ir.ui.view" id="mis_cash_flow_tree_view">
<field name="name">mis.cash_flow.tree</field>
<field name="model">mis.cash_flow</field>
<field name="arch" type="xml">
<tree create="false" edit="false" delete="false">
<field name="company_id" groups="base.group_multi_company" />
<field name="line_type" />
<field name="date" />
<field name="name" />
<field name="partner_id" />
<field name="account_id" />
<field name="debit" sum="Total" />
<field name="credit" sum="Total" />
<button
type="object"
string="Open Journal Item / Forecast Line"
icon="fa-external-link"
name="action_open_related_line"
/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="mis_cash_flow_form_view">
<field name="name">mis.cash_flow.form</field>
<field name="model">mis.cash_flow</field>
<field name="arch" type="xml">
<form create="false" edit="false" delete="false">
<group>
<group>
<field name="date" />
<field name="name" />
<field name="partner_id" />
<field name="account_id" />
<field name="move_line_id" />
</group>
<group>
<field name="debit" sum="Total" />
<field name="credit" sum="Total" />
<field name="company_id" groups="base.group_multi_company" />
<field name="line_type" />
</group>
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="mis_cash_flow_search_view">
<field name="name">mis.cash_flow.search</field>
<field name="model">mis.cash_flow</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="date" />
<separator />
<field name="partner_id" />
<field name="account_id" />
<field name="company_id" groups="base.group_multi_company" />
<separator />
<filter
string="Unreconciled"
domain="[('full_reconcile_id', '=', False), ('balance','!=', 0), ('account_id.reconcile','=',True)]"
help="Journal items where matching number isn't set"
name="unreconciled"
/>
<separator />
<filter
string="Journal Item"
name="move_line"
domain="[('line_type','=', 'move_line')]"
/>
<filter
string="Forecast Line"
name="forecast_line"
domain="[('line_type','=', 'forecast_line')]"
/>
<group>
<filter
string="Line Type"
name="group_by_line_type"
context="{'group_by':'line_type'}"
/>
<filter
string="Account"
name="group_by_account_id"
context="{'group_by':'account_id'}"
/>
<filter
string="Date"
name="group_by_date"
context="{'group_by':'date'}"
/>
<filter
string="Company"
name="group_by_company_id"
context="{'group_by':'company_id'}"
groups="base.group_multi_company"
/>
</group>
</search>
</field>
</record>
</odoo>

23
mis_builder_cash_flow/security/mis_cash_flow_security.xml

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record model="ir.model.access" id="mis_cash_flow_access_name">
<field name="name">mis.cash_flow</field>
<field name="model_id" ref="model_mis_cash_flow" />
<field name="group_id" ref="base.group_user" />
<field name="perm_read" eval="1" />
<field name="perm_create" eval="0" />
<field name="perm_write" eval="0" />
<field name="perm_unlink" eval="0" />
</record>
<record model="ir.model.access" id="mis_cash_flow_forecast_line_access_name">
<field name="name">mis.cash_flow.forecast_line</field>
<field name="model_id" ref="model_mis_cash_flow_forecast_line" />
<field name="group_id" ref="base.group_user" />
<field name="perm_read" eval="1" />
<field name="perm_create" eval="1" />
<field name="perm_write" eval="1" />
<field name="perm_unlink" eval="1" />
</record>
</odoo>

BIN
mis_builder_cash_flow/static/description/icon.png

After

Width: 150  |  Height: 150  |  Size: 4.7 KiB

444
mis_builder_cash_flow/static/description/index.html

@ -0,0 +1,444 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<title>MIS Builder Cash Flow</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="mis-builder-cash-flow">
<h1 class="title">MIS Builder Cash Flow</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/12.0/mis_builder_cash_flow"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-mis_builder_cash_flow"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to have a cash flow forecast.
The forecast is based on two types of date:</p>
<ul class="simple">
<li>Accounting entries: Due date field instead of Date</li>
<li>Forecast lines: manual lines created that forecast in/out cashflow moves.</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to Accounting &gt; Reports &gt; MIS Reporting &gt; MIS Reports and choose “Cash Flow” report</li>
<li>You can add forecast lines on Accounting &gt; Reports &gt; MIS Reporting &gt; Cash Flow Forecast Line</li>
</ol>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1>
<p>The mis_builder <a class="reference external" href="https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement">roadmap</a>
and <a class="reference external" href="https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug">known issues</a> can
be found on GitHub.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20mis_builder_cash_flow%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id5">Authors</a></h2>
<ul class="simple">
<li>ADHOC SA</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id6">Contributors</a></h2>
<ul class="simple">
<li>Juan José Scarafía &lt;<a class="reference external" href="mailto:jjs&#64;adhoc.com.ar">jjs&#64;adhoc.com.ar</a>&gt;</li>
<li>Gonzalo Ruzafa &lt;<a class="reference external" href="mailto:gr&#64;adhoc.com.ar">gr&#64;adhoc.com.ar</a>&gt;</li>
<li>Alberto Martín &lt;<a class="reference external" href="mailto:alberto.martin&#64;guadaltech.es">alberto.martin&#64;guadaltech.es</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/jjscarafia"><img alt="jjscarafia" src="https://github.com/jjscarafia.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/12.0/mis_builder_cash_flow">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

1
mis_builder_cash_flow/tests/__init__.py

@ -0,0 +1 @@
from . import test_cash_flow

157
mis_builder_cash_flow/tests/test_cash_flow.py

@ -0,0 +1,157 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from datetime import timedelta
from odoo.exceptions import ValidationError
from odoo.fields import Date
from odoo.tests.common import TransactionCase, tagged
from odoo.tools import mute_logger
@tagged("post_install", "-at_install")
class TestCashFlow(TransactionCase):
def setUp(self):
super().setUp()
self.company = self.env["res.company"].create({"name": "TEST"})
self.report = self.browse_ref("mis_builder_cash_flow.mis_instance_cash_flow")
self.report.company_id = self.company
self.bank_account = self.env["account.account"].create(
{
"company_id": self.company.id,
"code": "TEST1",
"name": "Bank account 01",
"user_type_id": self.browse_ref(
"account.data_account_type_liquidity"
).id,
}
)
self.bank_account_hide = self.env["account.account"].create(
{
"company_id": self.company.id,
"code": "TEST2",
"name": "Bank account 02",
"user_type_id": self.browse_ref(
"account.data_account_type_liquidity"
).id,
"hide_in_cash_flow": True,
}
)
self.account = self.env["account.account"].create(
{
"company_id": self.company.id,
"code": "TEST3",
"name": "Account",
"user_type_id": self.browse_ref(
"account.data_account_type_receivable"
).id,
"reconcile": True,
}
)
self.journal = self.env["account.journal"].create(
{
"name": "Journal",
"code": "JOURNAL",
"company_id": self.company.id,
"type": "general",
}
)
def test_company_constrain(self):
with self.assertRaises(ValidationError):
self.env["mis.cash_flow.forecast_line"].create(
{"account_id": self.account.id, "date": Date.today(), "balance": 1000}
)
def test_report_instance(self):
self.check_matrix()
move = self.env["account.move"].create(
{
"name": "Move",
"journal_id": self.journal.id,
"company_id": self.company.id,
"type": "entry",
"line_ids": [
(
0,
0,
{
"account_id": self.bank_account.id,
"debit": 1500,
"credit": 0,
"company_id": self.company.id,
},
),
(
0,
0,
{
"account_id": self.bank_account_hide.id,
"debit": 500,
"credit": 0,
"company_id": self.company.id,
},
),
(
0,
0,
{
"account_id": self.account.id,
"debit": 0,
"credit": 2000,
"company_id": self.company.id,
},
),
],
}
)
move.post()
self.check_matrix(
args=[
("liquidity", "Current", 1500),
("balance", "Current", 1500),
("in_receivable", "Current", -2000),
],
ignore_rows=["balance", "period_balance", "in_total"],
)
date = Date.today() + timedelta(weeks=8)
self.env["mis.cash_flow.forecast_line"].create(
{
"account_id": self.account.id,
"date": date,
"balance": 1000,
"company_id": self.company.id,
}
)
self.check_matrix(
[
("liquidity", "Current", 1500),
("balance", "Current", 1500),
("in_receivable", "Current", -2000),
("in_forecast", "+8w", 1000),
],
ignore_rows=["balance", "period_balance", "in_total"],
)
def check_matrix(self, args=None, ignore_rows=None):
if not args:
args = []
if not ignore_rows:
ignore_rows = []
with mute_logger("odoo.addons.mis_builder.models.kpimatrix"):
matrix = self.report._compute_matrix()
for row in matrix.iter_rows():
if row.kpi.name in ignore_rows:
continue
for cell in row.iter_cells():
if not cell:
continue
found = False
label = cell.subcol.col.label
for exp in args:
if exp[0] == row.kpi.name and exp[1] == label:
found = True
self.assertEqual(cell.val, exp[2])
break
if not found:
self.assertEqual(cell.val, 0)

15
mis_builder_cash_flow/views/account_account_views.xml

@ -0,0 +1,15 @@
<odoo>
<record id="view_account_form" model="ir.ui.view">
<field name="model">account.account</field>
<field name="name">account.account.form</field>
<field name="inherit_id" ref="account.view_account_form" />
<field name="arch" type="xml">
<field name="deprecated" position="after">
<field
name="hide_in_cash_flow"
attrs="{'invisible': [('internal_type', 'not in', ['receivable', 'payable', 'liquidity'])]}"
/>
</field>
</field>
</record>
</odoo>

92
mis_builder_cash_flow/views/mis_cash_flow_forecast_line_views.xml

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2019 ADHOC SA
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record model="ir.ui.view" id="mis_cash_flow_forecast_line_view_form">
<field name="name">mis.cash_flow.forecast_line.tree</field>
<field name="model">mis.cash_flow.forecast_line</field>
<field name="arch" type="xml">
<form string="MIS Cash Flow Forecast Line">
<sheet>
<group col="2">
<field name="company_id" groups="base.group_multi_company" />
<field name="date" />
<field name="partner_id" />
<field
name="account_id"
domain="[('company_id', '=', company_id)]"
/>
<field name="name" />
<field name="balance" />
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="mis_cash_flow_forecast_line_view_search">
<field name="name">mis.cash_flow.forecast_line.search</field>
<field name="model">mis.cash_flow.forecast_line</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="date" />
<separator />
<field name="partner_id" />
<field name="account_id" />
<field name="company_id" groups="base.group_multi_company" />
<group>
<filter
string="Account"
name="group_by_account_id"
context="{'group_by':'account_id'}"
/>
<filter
string="Partner"
name="group_by_partner_id"
context="{'group_by':'partner_id'}"
/>
<filter
string="Date"
name="group_by_date"
context="{'group_by':'date'}"
/>
<filter
string="Company"
name="group_by_company_id"
context="{'group_by':'company_id'}"
groups="base.group_multi_company"
/>
</group>
</search>
</field>
</record>
<record model="ir.ui.view" id="mis_cash_flow_forecast_line_view_tree">
<field name="name">mis.cash_flow.forecast_line.tree</field>
<field name="model">mis.cash_flow.forecast_line</field>
<field name="arch" type="xml">
<tree string="MIS Cash Flow Forecast Line" editable="top">
<field name="company_id" groups="base.group_multi_company" />
<field name="date" />
<field name="name" />
<field name="partner_id" />
<field
name="account_id"
domain="[('company_id', '=', company_id), ('deprecated', '=', False), ('hide_in_cash_flow', '=', False), ('internal_type', '=', ['receivable', 'payable', 'liquidity'])]"
/>
<field name="balance" />
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_mis_cash_flow_forecast_line">
<field name="name">Cash Flow Forecast Line</field>
<field name="view_id" ref="mis_cash_flow_forecast_line_view_tree" />
<field name="res_model">mis.cash_flow.forecast_line</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_mis_cash_flow_forecast_line"
parent="mis_builder.mis_report_finance_menu"
action="action_mis_cash_flow_forecast_line"
sequence="23"
/>
</odoo>

1
oca_dependencies.txt

@ -1,2 +1,3 @@
mis-builder
server-ux
reporting-engine
Loading…
Cancel
Save