You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
429 B

  1. # Copyright 2017 ACSONE SA/NV (<http://acsone.eu>)
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. from odoo import models, fields
  4. class ResCompany(models.Model):
  5. _inherit = 'res.company'
  6. user_tech_id = fields.Many2one(
  7. comodel_name="res.users",
  8. string="Technical User",
  9. help="This user can be used by process for technical purpose",
  10. domain="[('company_id', '=', id)]")