Files
session_redis_public/test_base_fileurl_field/models/res_users.py
T
Yannick Payot 9ca3f6a710 Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template

Target Python3.8

Apply linting

Fix a missing call to super
2023-05-24 16:09:11 +02:00

12 lines
335 B
Python

# Copyright 2019 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
from odoo import fields, models
class ResUsers(models.Model):
_inherit = "res.users"
partner_url_file = fields.FileURL(related="partner_id.url_file")
partner_url_file_fname = fields.Char(related="partner_id.url_file_fname")