[UPD] split contract object from AnalyticAccount

This commit is contained in:
Carms Ng
2020-10-14 21:29:42 -04:00
committed by Mathieu Benoit
parent 2aa84e7937
commit 160ee2944d
4 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ class TestContractSignatureTracking(common.SavepointCase):
cls.image = 'R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
def test_contract_signature_tracking(self):
self.contract = self.env['account.analytic.account'].create({
self.contract = self.env['contract.contract'].create({
'name': 'Test Contract',
'customer_signature': self.image,
})