asset: Felder wkn, isin, symobl + suche + test
This commit is contained in:
parent
13007f30c8
commit
353df93a9e
8 changed files with 267 additions and 3 deletions
21
identifier.py
Normal file
21
identifier.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- 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
|
Loading…
Add table
Add a link
Reference in a new issue