Skip to content

Commit

Permalink
Merge PR #3422 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by mileo
  • Loading branch information
OCA-git-bot committed Nov 5, 2024
2 parents f959e5b + 3b8077b commit 7599669
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
43 changes: 43 additions & 0 deletions l10n_br_fiscal/data/operation_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,49 @@
<field name="product_type">00</field>
</record>

<record id="fo_venda_venda_st_substituto" model="l10n_br_fiscal.operation.line">
<field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
<field name="name">Venda ST contribuinte substituto</field>
<field name="ind_ie_dest">1</field>
<field name="cfop_internal_id" ref="l10n_br_fiscal.cfop_5401" />
<field name="cfop_external_id" ref="l10n_br_fiscal.cfop_6401" />
<field name="state">approved</field>
<field name="product_type">04</field>
</record>

<record id="fo_venda_revenda_st_substituto" model="l10n_br_fiscal.operation.line">
<field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
<field name="name">Revenda ST contribuinte substituto</field>
<field name="ind_ie_dest">1</field>
<field name="cfop_internal_id" ref="l10n_br_fiscal.cfop_5403" />
<field name="cfop_external_id" ref="l10n_br_fiscal.cfop_6403" />
<field name="state">approved</field>
<field name="product_type">00</field>
</record>

<record id="fo_venda_revenda_st_substituido" model="l10n_br_fiscal.operation.line">
<field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
<field name="name">Revenda ST contribuinte substituído</field>
<field name="ind_ie_dest">1</field>
<field name="cfop_internal_id" ref="l10n_br_fiscal.cfop_5405" />
<field name="cfop_external_id" ref="l10n_br_fiscal.cfop_6404" />
<field name="state">approved</field>
<field name="product_type">00</field>
</record>

<record
id="fo_venda_revenda_st_substituido_sn"
model="l10n_br_fiscal.operation.line"
>
<field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
<field name="name">Revenda ST contribuinte substituído SN</field>
<field name="ind_ie_dest">1</field>
<field name="cfop_internal_id" ref="l10n_br_fiscal.cfop_5405" />
<field name="cfop_external_id" ref="l10n_br_fiscal.cfop_6404" />
<field name="state">approved</field>
<field name="product_type">00</field>
</record>

<record id="fo_venda_venda_nao_contribuinte" model="l10n_br_fiscal.operation.line">
<field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
<field name="name">Venda não Contribuinte</field>
Expand Down
3 changes: 1 addition & 2 deletions l10n_br_pos/tests/test_l10n_br_pos_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def test_pos_config_sales_fiscal_operation(self):
"l10n_br_fiscal.fo_venda"
)
self.pos_config._compute_allowed_tax()
self.assertEqual(
4,
self.assertTrue(
len(self.pos_config.out_pos_fiscal_operation_line_ids),
"Tax operations lines were not found.",
)
Expand Down

0 comments on commit 7599669

Please sign in to comment.