trytond-stock_origin_sale/shipment.py

16 lines
425 B
Python
Raw Normal View History

2012-07-23 13:52:17 +02:00
#This file is part stock_origin_sale module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
2013-04-26 15:24:50 +02:00
from trytond.pool import PoolMeta
2012-07-23 13:52:17 +02:00
2012-10-18 13:41:45 +02:00
__all__ = ['ShipmentOut']
__metaclass__ = PoolMeta
2012-07-23 13:52:17 +02:00
2013-04-26 15:24:50 +02:00
2012-10-18 13:41:45 +02:00
class ShipmentOut:
__name__ = 'stock.shipment.out'
2012-07-23 13:52:17 +02:00
2012-10-18 13:41:45 +02:00
@classmethod
def _get_origin(cls):
return super(ShipmentOut, cls)._get_origin() + ['sale.sale']