Add in sale order line:
- sale_warn = fields.Selection(related="product_id.sale_line_warn")
- sale_warn_msg_product = fields.Char(compute='_compute_sale_warn_msg_product')
Add in sale order:
- sale_warn_line_msg_product = fields.Html(compute="_compute_sale_warn_line_msg_product")
- sale_has_warn_line_product = fields.Boolean(compute="_compute_sale_has_warn_line_product")