mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_widget_x2many_2d_matrix: Debug mode
This commit is contained in:
committed by
Lois Rilo
parent
928f74338b
commit
12cc1e4980
@@ -4,7 +4,7 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "2D matrix for x2many fields",
|
||||
"version": "13.0.1.1.0",
|
||||
"version": "13.0.1.1.1",
|
||||
"author": (
|
||||
"Therp BV, "
|
||||
"Tecnativa, "
|
||||
|
||||
@@ -156,7 +156,7 @@ odoo.define("web_widget_x2many_2d_matrix.X2Many2dMatrixRenderer", function(requi
|
||||
$th.addClass("text-center");
|
||||
}
|
||||
|
||||
if (config.debug) {
|
||||
if (config.isDebug()) {
|
||||
var fieldDescr = {
|
||||
field: field,
|
||||
name: name,
|
||||
@@ -361,7 +361,7 @@ odoo.define("web_widget_x2many_2d_matrix.X2Many2dMatrixRenderer", function(requi
|
||||
|
||||
return _.map(this.columns, function(column) {
|
||||
var $cell = $("<td>");
|
||||
if (config.debug) {
|
||||
if (config.isDebug()) {
|
||||
$cell.addClass(column.attrs.name);
|
||||
}
|
||||
if (column.aggregate) {
|
||||
|
||||
Reference in New Issue
Block a user