trytond-party_company/activity.py

14 lines
383 B
Python
Raw Normal View History

2017-05-26 10:21:27 +02:00
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import PoolMeta
from . import party
2017-05-26 10:21:27 +02:00
2018-08-17 18:51:03 +02:00
class Activity(party.PartyCompanyMixin, metaclass=PoolMeta):
__name__ = "activity.activity"
@classmethod
def __setup__(cls):
super(Activity, cls).__setup__()
cls.party.required = True