Skip to content

Commit

Permalink
[FIX] Demo data with duplicate field, and field bank_account_link sho…
Browse files Browse the repository at this point in the history
…uld be FIXED because CNAB can has only one Account Journal.
  • Loading branch information
mbcosta committed May 28, 2021
1 parent 3ee9d63 commit 05908e3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions l10n_br_account_payment_order/demo/account_payment_mode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

<record id="payment_mode_automatic_test_main" model="account.payment.mode">
<field name="name">Cobrança Boleto (Automatico Test)</field>
<field name="bank_account_link">variable</field>
<field name="company_id" ref="base.main_company"/>
<field name="payment_method_id" ref="payment_mode_type_manual_test"/>
<field name="generate_move">False</field>
Expand Down Expand Up @@ -38,7 +37,6 @@

<record id="payment_mode_manual_test_main" model="account.payment.mode">
<field name="name">Cobrança Boleto (Manual Test)</field>
<field name="bank_account_link">variable</field>
<field name="company_id" ref="base.main_company"/>
<field name="payment_method_id" ref="payment_mode_type_manual_test"/>
<field name="generate_move">False</field>
Expand Down Expand Up @@ -73,7 +71,6 @@
<record id="main_payment_mode_boleto" model="account.payment.mode">
<field name="name">Cobrança Boleto (Manual)</field>
<field name="fixed_journal_id" ref="l10n_br_account_payment_order-account_journal"/>
<field name="bank_account_link">variable</field>
<field name="company_id" ref="base.main_company"/>
<field name="payment_method_id" ref="account.account_payment_method_manual_in"/>
<field name="generate_move">False</field>
Expand All @@ -90,7 +87,7 @@
<record id="simples_nacional_payment_mode_boleto" model="account.payment.mode">
<field name="name">Cobrança Boleto (Manual)</field>
<field name="fixed_journal_id" ref="simples_nacional_bank_journal"/>
<field name="bank_account_link">variable</field>
<field name="bank_account_link">fixed</field>
<field name="company_id" ref="l10n_br_base.empresa_simples_nacional"/>
<field name="payment_method_id" ref="account.account_payment_method_manual_in"/>
<field name="generate_move">False</field>
Expand All @@ -105,7 +102,7 @@
<record id="lucro_presumido_payment_mode_boleto" model="account.payment.mode">
<field name="name">Cobrança Boleto (Manual)</field>
<field name="fixed_journal_id" ref="lucro_presumido_bank_journal"/>
<field name="bank_account_link">variable</field>
<field name="bank_account_link">fixed</field>
<field name="company_id" ref="l10n_br_base.empresa_lucro_presumido"/>
<field name="payment_method_id" ref="account.account_payment_method_manual_in"/>
<field name="generate_move">False</field>
Expand Down

0 comments on commit 05908e3

Please sign in to comment.