Files
tryton/configuration.py
T
Cédric Krier c8fd86722d Remove Party Language configuration
The Party language is now a property for which the default value is no more
managed by default method.
Also it is probably better to leave the field empty if user doesn't know than
having a default value set like that a choice can be done at run time.

issue5198
review20111002
2016-03-25 10:44:39 +01:00

16 lines
540 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):
'Party Configuration'
__name__ = 'party.configuration'
party_sequence = fields.Property(fields.Many2One('ir.sequence',
'Party Sequence', domain=[
('code', '=', 'party.party'),
]))