From 6217161da7cf66b0d916fa8e00c9cd7d9bd97d63 Mon Sep 17 00:00:00 2001 From: Luis Felipe Mileo Date: Mon, 25 Mar 2024 11:33:44 -0300 Subject: [PATCH 1/2] [IMP] l10n_br_fiscal: adds icms st demo data --- l10n_br_fiscal/data/operation_data.xml | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/l10n_br_fiscal/data/operation_data.xml b/l10n_br_fiscal/data/operation_data.xml index a9927efa46bb..04464ba5c5be 100644 --- a/l10n_br_fiscal/data/operation_data.xml +++ b/l10n_br_fiscal/data/operation_data.xml @@ -42,6 +42,49 @@ 00 + + + Venda ST contribuinte substituto + 1 + + + approved + 04 + + + + + Revenda ST contribuinte substituto + 1 + + + approved + 00 + + + + + Revenda ST contribuinte substituído + 1 + + + approved + 00 + + + + + Revenda ST contribuinte substituído SN + 1 + + + approved + 00 + + Venda não Contribuinte From 3b8077bd2a7ee1bf087f972751b52f34045726d3 Mon Sep 17 00:00:00 2001 From: Tiago Amaral Date: Fri, 1 Nov 2024 17:14:46 -0300 Subject: [PATCH 2/2] [IMP] l10n_br_pos: fix POS config test. --- l10n_br_pos/tests/test_l10n_br_pos_config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/l10n_br_pos/tests/test_l10n_br_pos_config.py b/l10n_br_pos/tests/test_l10n_br_pos_config.py index 8b54e9b5254d..427fb2f84470 100644 --- a/l10n_br_pos/tests/test_l10n_br_pos_config.py +++ b/l10n_br_pos/tests/test_l10n_br_pos_config.py @@ -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.", )