from trytond.pool import PoolMeta
from trytond.model import fields


# class Contract(metaclass=PoolMeta):
#     __name__ = 'sale.contract'
#     department = fields.Many2One('company.department', 'Department', states={'required': False})
#
#     @classmethod
#     def _get_origin(cls):
#         'Return list of Model names for origin Reference'
#         return super(Contract, cls)._get_origin() + ['crm.opportunity']
