19 lines
478 B
Python
19 lines
478 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__ = ['ShipmentOut']
|
||
|
__metaclass__ = PoolMeta
|
||
|
|
||
|
|
||
|
class ShipmentOut:
|
||
|
__name__ = 'stock.shipment.out'
|
||
|
reviewed = fields.Boolean('Reviewed')
|
||
|
|
||
|
@classmethod
|
||
|
def done(cls, shipments):
|
||
|
super(ShipmentOut, cls).done(shipments)
|
||
|
cls.write(shipments, {'reviewed': True})
|