symbol fix

This commit is contained in:
Frederik Jaeckel 2022-12-03 00:08:55 +01:00
parent e972d54f54
commit eb4af774c0

View file

@ -3,7 +3,7 @@
# The COPYRIGHT file at the top level of this repository contains the # The COPYRIGHT file at the top level of this repository contains the
# full copyright notices and license terms. # full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields from trytond.model import ModelView, ModelSQL, fields, SymbolMixin
from trytond.transaction import Transaction from trytond.transaction import Transaction
from trytond.pool import Pool from trytond.pool import Pool
from trytond.pyson import Eval, Bool, And, If, Date from trytond.pyson import Eval, Bool, And, If, Date
@ -24,7 +24,7 @@ sel_updtdays = [
] ]
class Asset(ModelSQL, ModelView): class Asset(SymbolMixin, ModelSQL, ModelView):
'Asset' 'Asset'
__name__ = 'investment.asset' __name__ = 'investment.asset'