File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
account_fiscal_position_type/tests Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,20 @@ def test_chart_template_generation(self):
4747 def test_invoice_fiscal_position_domain (self ):
4848 customer_invoice = self .env .ref ("account.1_demo_invoice_3" ).copy ()
4949 self .assertEqual (
50- customer_invoice .suitable_fiscal_position_ids .mapped ("type_position_use" ),
51- ["sale" , "all" ],
50+ set (
51+ customer_invoice .suitable_fiscal_position_ids .mapped (
52+ "type_position_use"
53+ )
54+ ),
55+ {"sale" , "all" },
5256 )
5357
5458 supplier_invoice = self .env .ref ("account.1_demo_invoice_5" ).copy ()
5559 self .assertEqual (
56- supplier_invoice .suitable_fiscal_position_ids .mapped ("type_position_use" ),
57- ["purchase" , "all" ],
60+ set (
61+ supplier_invoice .suitable_fiscal_position_ids .mapped (
62+ "type_position_use"
63+ )
64+ ),
65+ {"purchase" , "all" },
5866 )
You can’t perform that action at this time.
0 commit comments