Puoi migrare qusto codice ad odoo 16:
# model
    _name = 'kanban.attribute'
    _description = 'Kanban Attribute'

    # extend model of messages and followers
    _inherit = ['mail.thread']

    # fields
    # name: name (alphanumeric id) of the kanban element
    name = fields.Char('Kanban id', required=True, default='New')
    # status: define if the element is in use (ordered) or not
    status = fields.Boolean('Ordered', default=False, tracking=True)
    # due_date: limit date to completion
    due_date = fields.Date('Due date')
    # product_id: product to produce
    product_id = fields.Many2one('product.product', 'Product', required=True)
    # location: identification of the position
    location = fields.Char('Location')
    # last_activity: id of activity object
    last_activity = fields.Many2one('kanban.activity', 'Last activity')
    # send_email: boolean to request to send email (eg. purchase) 
    send_email = fields.Boolean('Send email', default=False)

    # related fileds from kanban's product fields
    # image_medium: image of the product
    image_medium = fields.Binary('Image', related='product_id.image_variant_1920')
    # routing: reference to the production cycle (route)
    routing = fields.Selection(related='product_id.routing')
    # partner_id: partner for produce element product
    partner_id = fields.Many2one('res.partner', 'Partner', related='product_id.partner_id', store=True)
    # used also to park temporally the ticket
    active = fields.Boolean(default=True, tracking=Tru Provide your response in exactly 3 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user