trytond-electronic_mail-old/user.py
2014-11-07 14:22:36 +01:00

20 lines
547 B
Python

# This file is part electronic_mail module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import PoolMeta
from trytond.model import fields
__all__ = ['User']
__metaclass__ = PoolMeta
class User:
__name__ = "res.user"
signature_html = fields.Text('Signature')
@classmethod
def __setup__(cls):
if not cls._preferences_fields:
cls._preferences_fields = []
cls._preferences_fields.append('signature_html')