We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a3cee commit ed532ebCopy full SHA for ed532eb
1 file changed
intrastat_product/tests/test_intrastat_product.py
@@ -97,12 +97,12 @@ def test_declaration_manual_lines(self):
97
self.assertEqual(declaration_line.src_dest_country_code, "FR")
98
99
# Test Greece country code conversion
100
+ computation_line_form.src_dest_country_id = self.env.ref("base.gr")
101
declaration_line_form_greece = Form(
- self.env["intrastat.product.declaration.line"].with_context(
102
+ self.env["intrastat.product.computation.line"].with_context(
103
default_parent_id=self.declaration.id
104
)
105
- declaration_line_form_greece.src_dest_country_id = self.env.ref("base.gr")
106
declaration_line_form_greece = declaration_line_form.save()
107
self.assertEqual(declaration_line_form_greece.src_dest_country_code, "EL")
108
0 commit comments