[MIG] contract_mandate to v10

This commit is contained in:
Bodi Stanciu
2020-10-20 20:03:10 +02:00
parent 1a9aedf541
commit 39968fc99d
12 changed files with 525 additions and 52 deletions

View File

@@ -70,6 +70,8 @@ class TestAccountAnalyticAccount(common.HttpCase):
'price_unit': 100,
'discount': 50,
})
# Remove report to avoid freeze when use wkhtmltopdf and SavepointCase
self.env['mail.template'].search([], limit=1).write({'report_template': False})
def _validate_invoice(self, invoice):
self.assertEqual(len(invoice), 1)