[IMP] spreadsheet: mark _t function to be hidden
This commits hides a function in spreadsheet that are not supposed to be used by end users: `_t`. It can only work with static strings in the source code. task 3102309 closes odoo/odoo#109863 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
This commit is contained in:
committed by
Lucas Lefèvre (lul)
parent
80b3edea0c
commit
dd357f2f6a
@@ -13,4 +13,5 @@ functionRegistry.add("_t", {
|
||||
return _t(toString(value));
|
||||
},
|
||||
returns: ["STRING"],
|
||||
hidden: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user