mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_widget_x2many_2d_matrix: black, isort, prettier
This commit is contained in:
committed by
Lois Rilo
parent
3069215ffd
commit
9445264f5f
@@ -0,0 +1 @@
|
||||
../../../../web_widget_x2many_2d_matrix
|
||||
6
setup/web_widget_x2many_2d_matrix/setup.py
Normal file
6
setup/web_widget_x2many_2d_matrix/setup.py
Normal file
@@ -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;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user