2016-02-17 12:37:33 +01:00
|
|
|
# This file is part of the stock_move_box module for Tryton.
|
|
|
|
# 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__ = ['Move']
|
|
|
|
|
|
|
|
|
|
|
|
class Move:
|
2016-03-29 17:26:09 +02:00
|
|
|
__metaclass__ = PoolMeta
|
2016-02-17 12:37:33 +01:00
|
|
|
__name__ = 'stock.move'
|
2016-02-18 00:21:54 +01:00
|
|
|
box = fields.Char('Box')
|
2016-02-17 12:37:33 +01:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def __setup__(cls):
|
|
|
|
super(Move, cls).__setup__()
|
2016-02-18 00:21:54 +01:00
|
|
|
cls._order.insert(1, ('box', 'ASC'))
|