13 lines
422 B
Python
13 lines
422 B
Python
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']
|