Files
odoo-addons/addons/tk_construction_management/models/construction_user.py

11 lines
335 B
Python

# -*- coding: utf-8 -*-
# Copyright 2020-Today TechKhedut.
# Part of TechKhedut. See LICENSE file for full copyright and licensing details.
from odoo import fields, api, models
class ConstructionResUser(models.Model):
_inherit = 'res.users'
department_ids = fields.Many2many('construction.department', string="Department ")