chore: se hace obligatorio prospecto en prospect trace
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
from trytond.pool import Pool
|
||||
|
||||
|
||||
class SaleOpportunityManagementTestCase(ModuleTestCase):
|
||||
"Test Sale Opportunity Management module"
|
||||
module = 'sale_opportunity_management'
|
||||
|
||||
@with_transaction()
|
||||
def test_prospecto_en_prospect_trace_es_obligatorio(self):
|
||||
pool = Pool()
|
||||
ProspectTrace = pool.get('sale.prospect_trace')
|
||||
self.assertTrue(ProspectTrace.prospect.required)
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
|
||||
Reference in New Issue
Block a user