[FIX] web: show field domain in debug mode
Field tooltip lacks domain information because of a small mistake in `getTooltipInfo` function. To reproduce: open a form in debug mode and hover any many2one field that has domain in its configuration. Example: ``hr.expense:sale_order_id`` opw-3049554 closes odoo/odoo#106225 X-original-commit: c2663c0493f8330041ba426ce233a2a73fda048a Signed-off-by: Samuel Degueldre <sad@odoo.com>
This commit is contained in:
@@ -18,7 +18,7 @@ export function getTooltipInfo(params) {
|
||||
widget: params.fieldInfo.widget,
|
||||
widgetDescription,
|
||||
context: params.fieldInfo.context,
|
||||
domain: params.fieldInfo.domain,
|
||||
domain: params.field.domain,
|
||||
modifiers: JSON.stringify(params.fieldInfo.modifiers),
|
||||
changeDefault: params.field.change_default,
|
||||
relation: params.field.relation,
|
||||
|
||||
Reference in New Issue
Block a user