Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][l10n_br_account_payment] fwp 3358 #3455

Draft
wants to merge 5 commits into
base: 16.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions l10n_br_account_payment_order/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"views/l10n_br_cnab_mov_instruction_code_view.xml",
"views/account_move_view.xml",
"views/l10n_br_cnab_boleto_wallet_code_view.xml",
# Códigos CNAB
"views/l10n_br_cnab_code_view.xml",
],
"demo": [
"demo/account_payment_method.xml",
Expand Down
147 changes: 98 additions & 49 deletions l10n_br_account_payment_order/data/cnab_codes/banco_ailos_cnab_240.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,64 +5,54 @@
<!-- Bradesco 240
https://banco.bradesco/assets/pessoajuridica/pdf/4008-523-0687-layout-multipag.pdf
-->
<record
id="bradesco_240_boleto_wallet_code_1"
model="l10n_br_cnab.boleto.wallet.code"
>
<record id="bradesco_240_boleto_wallet_code_1" model="l10n_br_cnab.code">
<field name="name">Cobrança Simples</field>
<field name="code">1</field>
<field name="code_type">wallet_code</field>
<field name="bank_ids" eval="[(6,0,[ref('l10n_br_base.res_bank_237')])]" />
<field
name="payment_method_ids"
eval="[(6,0,[ref('payment_mode_type_cnab240')])]"
/>
</record>

<record
id="bradesco_240_boleto_wallet_code_2"
model="l10n_br_cnab.boleto.wallet.code"
>
<record id="bradesco_240_boleto_wallet_code_2" model="l10n_br_cnab.code">
<field name="name">Cobrança Vinculada</field>
<field name="code">2</field>
<field name="code_type">wallet_code</field>
<field name="bank_ids" eval="[(6,0,[ref('l10n_br_base.res_bank_237')])]" />
<field
name="payment_method_ids"
eval="[(6,0,[ref('payment_mode_type_cnab240')])]"
/>
</record>

<record
id="bradesco_240_boleto_wallet_code_3"
model="l10n_br_cnab.boleto.wallet.code"
>
<record id="bradesco_240_boleto_wallet_code_3" model="l10n_br_cnab.code">
<field name="name">Cobrança Caucionada</field>
<field name="code">3</field>
<field name="code_type">wallet_code</field>
<field name="bank_ids" eval="[(6,0,[ref('l10n_br_base.res_bank_237')])]" />
<field
name="payment_method_ids"
eval="[(6,0,[ref('payment_mode_type_cnab240')])]"
/>
</record>

<record
id="bradesco_240_boleto_wallet_code_4"
model="l10n_br_cnab.boleto.wallet.code"
>
<record id="bradesco_240_boleto_wallet_code_4" model="l10n_br_cnab.code">
<field name="name">Cobrança Descontada</field>
<field name="code">4</field>
<field name="code_type">wallet_code</field>
<field name="bank_ids" eval="[(6,0,[ref('l10n_br_base.res_bank_237')])]" />
<field
name="payment_method_ids"
eval="[(6,0,[ref('payment_mode_type_cnab240')])]"
/>
</record>

<record
id="bradesco_240_boleto_wallet_code_5"
model="l10n_br_cnab.boleto.wallet.code"
>
<record id="bradesco_240_boleto_wallet_code_5" model="l10n_br_cnab.code">
<field name="name">Cobrança Vendor</field>
<field name="code">5</field>
<field name="code_type">wallet_code</field>
<field name="bank_ids" eval="[(6,0,[ref('l10n_br_base.res_bank_237')])]" />
<field
name="payment_method_ids"
Expand Down
Loading
Loading