3
0
Fork 0

[IMP] web_widget_x2many_2d_matrix: black, isort, prettier

15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
Christopher Ormaza 2021-12-13 10:39:51 -05:00 committed by Lois Rilo
parent 3069215ffd
commit 9445264f5f
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1 @@
../../../../web_widget_x2many_2d_matrix

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@ -138,8 +138,8 @@ odoo.define("web_widget_x2many_2d_matrix.X2Many2dMatrixRenderer", function (requ
}
var description = null;
if (node.attrs.widget) {
description = this.state.fieldsInfo.list[name].Widget.prototype
.description;
description =
this.state.fieldsInfo.list[name].Widget.prototype.description;
}
if (_.isNull(description)) {
description = node.attrs.string || field.string;