trytond-network/configuration.py
Albert Cervera i Areny 3dcc844e93 Initial commit.
2014-07-10 16:01:46 +02:00

15 lines
541 B
Python

#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, ModelSingleton, fields
__all__ = ['Configuration']
class Configuration(ModelSingleton, ModelSQL, ModelView):
'Network Configuration'
__name__ = 'network.configuration'
item_sequence = fields.Property(fields.Many2One('ir.sequence',
'Item Sequence', domain=[
('code', '=', 'network.item'),
]))