18 lines
632 B
Python
18 lines
632 B
Python
# Copyright 2018-Today datenpol gmbh (<http://www.datenpol.at>)
|
|
# License OPL-1 or later (https://www.odoo.com/documentation/user/11.0/legal/licenses/licenses.html#licenses).
|
|
|
|
from odoo import api, models, fields
|
|
|
|
|
|
class Users(models.Model):
|
|
_inherit = 'res.users'
|
|
|
|
clerk_name = fields.Char('Sachbearbeiter-ID', size=20, help='ID als Sachbearbeiter im PG9 (max. 20 Zeichen)')
|
|
editor_name = fields.Char('Auftragsbearbeiter-ID', size=20, help='ID als Auftragsbearbeiter im PG9 (max. 20 Zeichen)')
|
|
|
|
@api.model
|
|
def create(self, vals):
|
|
vals['customer'] = False
|
|
|
|
return super(Users, self).create(vals)
|