Browse Source

[IMP] partner_id in forecastline

pull/768/head
amcor 5 years ago
committed by Daniel Reis
parent
commit
aa93b3bf3c
  1. 6
      mis_builder_cash_flow/views/mis_cash_flow_forecast_line_views.xml

6
mis_builder_cash_flow/views/mis_cash_flow_forecast_line_views.xml

@ -14,6 +14,7 @@
<field name="company_id" <field name="company_id"
groups="base.group_multi_company"/> groups="base.group_multi_company"/>
<field name="date"/> <field name="date"/>
<field name="partner_id" />
<field name="account_id" <field name="account_id"
domain="[('company_id', '=', company_id)]"/> domain="[('company_id', '=', company_id)]"/>
<field name="name"/> <field name="name"/>
@ -32,6 +33,7 @@
<field name="name"/> <field name="name"/>
<field name="date"/> <field name="date"/>
<separator/> <separator/>
<field name="partner_id" />
<field name="account_id"/> <field name="account_id"/>
<field name="company_id" <field name="company_id"
groups="base.group_multi_company"/> groups="base.group_multi_company"/>
@ -39,6 +41,9 @@
<filter string="Account" <filter string="Account"
name="group_by_account_id" name="group_by_account_id"
context="{'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" <filter string="Date"
name="group_by_date" name="group_by_date"
context="{'group_by':'date'}"/> context="{'group_by':'date'}"/>
@ -59,6 +64,7 @@
groups="base.group_multi_company"/> groups="base.group_multi_company"/>
<field name="date"/> <field name="date"/>
<field name="name"/> <field name="name"/>
<field name="partner_id" />
<field name="account_id" <field name="account_id"
domain="[('company_id', '=', company_id), ('deprecated', '=', False), ('hide_in_cash_flow', '=', False), ('internal_type', '=', ['receivable', 'payable', 'liquidity'])]"/> domain="[('company_id', '=', company_id), ('deprecated', '=', False), ('hide_in_cash_flow', '=', False), ('internal_type', '=', ['receivable', 'payable', 'liquidity'])]"/>
<field name="balance"/> <field name="balance"/>

Loading…
Cancel
Save