mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX][15.0] contract: Fix forwardport from 14.0 #741
This commit is contained in:
@@ -49,7 +49,6 @@ class ContractAbstractContract(models.AbstractModel):
|
||||
" of all together for the whole contract.",
|
||||
)
|
||||
generation_type = fields.Selection(
|
||||
string="Generation Type",
|
||||
selection=lambda self: self._selection_generation_type(),
|
||||
default=lambda self: self._default_generation_type(),
|
||||
help="Choose the document that will be automatically generated by cron.",
|
||||
|
||||
@@ -18,7 +18,7 @@ def to_date(date):
|
||||
return fields.Date.to_date(date)
|
||||
|
||||
|
||||
class TestContractBase(common.SavepointCase):
|
||||
class TestContractBase(common.TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
|
||||
Reference in New Issue
Block a user