# -*- coding: utf-8 -*-

from odoo import models, fields, api

class UsersExtended(models.Model):
    _inherit = 'res.users'

    restrict_payment = fields.Boolean(string="Restrict Payment Methods")
    journal_ids = fields.Many2many('account.journal', string='Allowed Journals', domain="[('type','in',['bank','cash'])]")
596f22671b31f665edcef6bfc1a0ddc2b5f2594e
<mask token>

<mask token>


class UsersExtended(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class UsersExtended(models.Model):
    _inherit = 'res.users'
    restrict_payment = fields.Boolean(string='Restrict Payment Methods')
    journal_ids = fields.Many2many('account.journal', string=
        'Allowed Journals', domain="[('type','in',['bank','cash'])]")

from odoo import models, fields, api


class UsersExtended(models.Model):
    _inherit = 'res.users'
    restrict_payment = fields.Boolean(string='Restrict Payment Methods')
    journal_ids = fields.Many2many('account.journal', string=
        'Allowed Journals', domain="[('type','in',['bank','cash'])]")

# -*- coding: utf-8 -*-

from odoo import models, fields, api

class UsersExtended(models.Model):
    _inherit = 'res.users'

    restrict_payment = fields.Boolean(string="Restrict Payment Methods")
    journal_ids = fields.Many2many('account.journal', string='Allowed Journals', domain="[('type','in',['bank','cash'])]")