@@ -363,7 +363,7 @@ def test_14_xml_import(self):
363363 self .assertEqual (invoice .payment_reference , "136" )
364364 self .assertEqual (invoice .partner_id .name , "SOCIETA' ALPHA SRL" )
365365 self .assertEqual (invoice .amount_untaxed , 25.00 )
366- self .assertEqual (invoice .amount_tax , 0.0 )
366+ self .assertEqual (invoice .amount_tax , 3.75 )
367367 self .assertEqual (
368368 invoice .inconsistencies ,
369369 "Company Name field contains 'Societa' "
@@ -895,6 +895,7 @@ def test_51_xml_import(self):
895895 invoice = self .invoice_model .browse (invoice_ids )
896896 self .assertTrue (invoice .fatturapa_attachment_in_id .is_self_invoice )
897897
898+ # XXX probably useless now
898899 def test_53_xml_import (self ):
899900 """
900901 Check that VAT of non-IT partner is not checked.
@@ -920,7 +921,10 @@ def vat_partner_exists():
920921
921922 # Assert: A partner with vat GB99999999999 exists,
922923 # and the vat is usually not valid for UK
923- self .assertTrue (vat_partner_exists ())
924+
925+ # XXX changed to false, now it works as intented
926+ self .assertFalse (vat_partner_exists ())
927+
924928 with self .assertRaises (ValidationError ) as ve :
925929 partner_model .create (
926930 [
0 commit comments