Skip to content

Commit

Permalink
FIX travis: Remove report to avoid freeze when use wkhtmltopdf and Sa…
Browse files Browse the repository at this point in the history
…vepointCase
  • Loading branch information
carlosdauden committed Dec 28, 2017
1 parent 6c9d9c5 commit 5009125
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contract_payment_auto/tests/test_account_analytic_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ def setUp(self):
'price_unit': 100,
'discount': 50,
})
# Remove report to avoid freeze when use wkhtmltopdf and SavepointCase
invoice_template = self.env.ref(
'account.email_template_edi_invoice',
raise_if_not_found=False,
)
invoice_template.report_template = False
self.template.invoice_mail_template_id.report_template = False

def _validate_invoice(self, invoice):
self.assertEqual(len(invoice), 1)
Expand Down

0 comments on commit 5009125

Please sign in to comment.