chore: Se hace obligatorio date en PendingCall
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-08-09 20:38:26 -05:00
parent cd3ab0247d
commit 74a035e432
2 changed files with 13 additions and 7 deletions

View File

@@ -7,40 +7,46 @@ class RequiredValuesTestCase(ModuleTestCase):
module = 'sale_opportunity_management'
@with_transaction()
def test_prospecto_en_prospect_trace_es_obligatorio(self):
def test_prospect_en_ProspectTrace_es_obligatorio(self):
pool = Pool()
ProspectTrace = pool.get('sale.prospect_trace')
self.assertTrue(ProspectTrace.prospect.required)
@with_transaction()
def test_contact_method_en_prospect_es_obligatorio(self):
def test_contact_method_en_Prospect_es_obligatorio(self):
pool = Pool()
Prospect = pool.get('sale.prospect')
self.assertTrue(Prospect.contact_methods.required)
@with_transaction()
def test_name_en_prospect_es_obligatorio(self):
def test_name_en_Prospect_es_obligatorio(self):
pool = Pool()
Prospect = pool.get('sale.prospect')
self.assertTrue(Prospect.name.required)
@with_transaction()
def test_value_en_contact_method_es_obligatorio(self):
def test_value_en_ContactMethod_es_obligatorio(self):
pool = Pool()
ContactMethod = pool.get('prospect.contact_method')
self.assertTrue(ContactMethod.value.required)
@with_transaction()
def test_contact_type_en_contact_method_es_obligatorio(self):
def test_contact_type_en_ContactMethod_es_obligatorio(self):
pool = Pool()
ContactMethod = pool.get('prospect.contact_method')
self.assertTrue(ContactMethod.contact_type.required)
@with_transaction()
def test_prospect_en_contact_method_es_obligatorio(self):
def test_prospect_en_ContactMethod_es_obligatorio(self):
pool = Pool()
ContactMethod = pool.get('prospect.contact_method')
self.assertTrue(ContactMethod.prospect.required)
@with_transaction()
def test_date_en_PendingCall_es_obligatorio(self):
pool = Pool()
PendingCall = pool.get('sale.pending_call')
self.assertTrue(PendingCall.date.required)
del ModuleTestCase