Allow services to be deactivated
issue8351 review251361002
This commit is contained in:
1 parent
f8f1e6736e
commit
a4dfd726e2
3 files changed
+7
-3
No files matched your search
+2
-2
@@ -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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user