odoo/ext/3rd-party-addons/website_customer_group/models/res_user.py

23 lines
798 B
Python

# -*- coding: utf-8 -*-
#################################################################################
# Author : Webkul Software Pvt. Ltd. (<https://webkul.com/>)
# Copyright(c): 2016-Present Webkul Software Pvt. Ltd.
# All Rights Reserved.
#
#
#
# This program is copyright property of the author mentioned above.
# You can`t redistribute it and/or modify it.
#
#
# You should have received a copy of the License along with this program.
# If not, see <https://store.webkul.com/license.html/>
#################################################################################
from odoo import models, fields, api, _
class ResUsers(models.Model):
_name = 'res.users'
_inherit = 'res.users'
customer_grp_id = fields.Many2one('customer.group', string="Default Customer Groups")