parent
82abce4c1e
commit
bfc3d1d10d
|
@ -0,0 +1,23 @@
|
|||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<odoo>
|
||||
<record id="mis_kpi_aliquidity" model="mis.report.kpi">
|
||||
<field
|
||||
name="expression"
|
||||
>bal[][('account_type', '=', 'asset_cash'), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
|
||||
</record>
|
||||
<record id="mis_kpi_balance" model="mis.report.kpi">
|
||||
<field
|
||||
name="expression"
|
||||
>bale[][('account_id.hide_in_cash_flow', '=', False), '|', ('line_type', '=', 'forecast_line'), ('line_type', '=', 'move_line'), '|', ('account_type', '=', 'asset_cash'), ('account_type', 'in', ('asset_receivable', 'liability_payable')), ('full_reconcile_id', '=', False)]</field>
|
||||
</record>
|
||||
<record id="mis_kpi_in_receivable" model="mis.report.kpi">
|
||||
<field
|
||||
name="expression"
|
||||
>bal[][ ('account_type', '=', 'asset_receivable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
|
||||
</record>
|
||||
<record id="mis_kpi_out_payable" model="mis.report.kpi">
|
||||
<field
|
||||
name="expression"
|
||||
>bal[][ ('account_type', '=', 'liability_payable'), ('full_reconcile_id', '=', False), ('line_type', '=', 'move_line'), ('account_id.hide_in_cash_flow', '=', False)]</field>
|
||||
</record>
|
||||
</odoo>
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright 2024 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.load_data(
|
||||
env.cr, "mis_builder_cash_flow", "migrations/16.0.1.0.0/noupdate_changes.xml"
|
||||
)
|
Loading…
Reference in New Issue