22 lines
621 B
Python
22 lines
621 B
Python
![]() |
# -*- coding: utf-8 -*-
|
||
|
# This file is part of the investment-module from m-ds 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
|
||
|
|
||
|
|
||
|
class Identifier(metaclass=PoolMeta):
|
||
|
__name__ = 'product.identifier'
|
||
|
|
||
|
@classmethod
|
||
|
def __setup__(cls):
|
||
|
super(Identifier, cls).__setup__()
|
||
|
cls.type.selection.extend([
|
||
|
('wkn', 'National Securities Identifying Number (NSIN)'),
|
||
|
('secsymb', 'Stock market symbol'),
|
||
|
])
|
||
|
|
||
|
# end Identifier
|