forked from Techsystech/web
[IMP] web_widget_x2many_2d_matrix: black, isort, prettier
parent
3069215ffd
commit
9445264f5f
|
@ -0,0 +1 @@
|
||||||
|
../../../../web_widget_x2many_2d_matrix
|
|
@ -0,0 +1,6 @@
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
|
@ -138,8 +138,8 @@ odoo.define("web_widget_x2many_2d_matrix.X2Many2dMatrixRenderer", function (requ
|
||||||
}
|
}
|
||||||
var description = null;
|
var description = null;
|
||||||
if (node.attrs.widget) {
|
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)) {
|
if (_.isNull(description)) {
|
||||||
description = node.attrs.string || field.string;
|
description = node.attrs.string || field.string;
|
||||||
|
|
Loading…
Reference in New Issue