Allow services to be deactivated

issue8351
review251361002
This commit is contained in:
Sergi Almacellas Abellana committed 2019-05-24 09:23:21 +02:00
1 parent f8f1e6736e
commit a4dfd726e2
3 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.model import ModelSQL, ModelView, fields
from trytond.model import ModelSQL, ModelView, DeactivableMixin, fields
from trytond.pyson import Eval
__all__ = ['Service']
class Service(ModelSQL, ModelView):
class Service(DeactivableMixin, ModelSQL, ModelView):
"Subscription Service"
__name__ = 'sale.subscription.service'