book/line: felder für quantity, etc.
This commit is contained in:
parent
510b85f99f
commit
70416dbc12
15 changed files with 583 additions and 0 deletions
21
types.py
Normal file
21
types.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# This file is part of the cashbook-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.i18n import gettext
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class Type(metaclass=PoolMeta):
|
||||
__name__ = 'cashbook.type'
|
||||
|
||||
@classmethod
|
||||
def get_sel_feature(cls):
|
||||
""" get feature-modes
|
||||
"""
|
||||
l1 = super(Type, cls).get_sel_feature()
|
||||
l1.append(('asset', gettext('cashbook_investment.msg_btype_asset')))
|
||||
return l1
|
||||
|
||||
# end Type
|
Loading…
Add table
Add a link
Reference in a new issue