trytond-asset_work_shipment/asset.py

15 lines
343 B
Python

# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['Asset']
__metaclass__ = PoolMeta
class Asset:
__name__ = 'asset'
shipments = fields.One2Many('shipment.work', 'asset', 'Work Shipments')