hi, i'm trying to inherith res.users. i added tatto_artist_hours_ids and it work, but when i tried to add hour_cost and last_name field. i got error
res_user.py
from odoo import fields, models
class Users(models.Model):
_inherit = 'res.users'
tattoo_artist_hours_ids = fields.One2many("tattoo.artist.hours", "tattoo_artist_id", string="Orari di lavoro")
hour_cost = fields.Float(string="Costo orario")
last_name = fields.Char(string="Last Name")
res_user.xml
i got that error:
res.users.view.form.inherit.artist
res.users
psycopg2.ProgrammingError: column res_users.last_name does not exist
LINE 1: ..."company_id","res_users"."alias_id" as "alias_id","res_users...