Skip to content
Snippets Groups Projects
Commit a8a0f38f authored by Hubert Van de Walle (huvw)'s avatar Hubert Van de Walle (huvw)
Browse files

[FIX] web: Select the correct record when there is an html table in a line


Steps to follow

  - Add an HTML field in the sales order line view
  - Create a sales order
  - Add a product
  - Add a table with multiple rows in the HTML widget
  - Add a new product
  -> The new product isn't selected

Cause of the issue

  The CSS selector used for finding the record to edit was taking all tr
  element into account

Solution

  Only select direct descendants of the tbody

opw-2632817

closes odoo/odoo#77355

X-original-commit: 05fedd20
Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
Signed-off-by: default avatarHubert Van De Walle <hubvd@users.noreply.github.com>
parent c52f7c8f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment