(self)
Compute a short name for this sale order line, to be used on the website where we don't have much space.
            To keep it short, instead of using the first line of the description, we take the product name without the internal reference.
Compute a short name for this sale order line, to be used on the website where we don't have much space.
            To keep it short, instead of using the first line of the description, we take the product name without the internal reference.
Compute a short name for this sale order line to be used on the website where we don t have much space . To keep it short instead of using the first line of the description we take the product name without the internal reference .
def _compute_name_short(self):
        """ Compute a short name for this sale order line, to be used on the website where we don't have much space.
            To keep it short, instead of using the first line of the description, we take the product name without the internal reference.
        """
        for record in self:
            record.name_short = record.product_id.with_context(display_default_code=False).display_name
def _compute_name_short ( self ) : for record in self : record . name_short = record . product_id . with_context ( display_default_code = False ) . display_name