mirror of https://github.com/OCA/web.git
[FIX] web_widget_x2many_2d_matrix: Wrong widget
In previous versions _setSubViewLimit was defined at AbstractView widget but in v12 is defined at FormView widgetpull/2110/head
parent
6ff3342165
commit
be2c2aa71f
|
@ -4,7 +4,7 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
'name': '2D matrix for x2many fields',
|
||||
'version': '12.0.2.0.0',
|
||||
'version': '12.0.2.1.0',
|
||||
'author': (
|
||||
'Therp BV, '
|
||||
'Tecnativa, '
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
odoo.define( "web_widget_x2many_2d_matrix.matrix_limit_extend", function (require) {
|
||||
"use strict";
|
||||
"use strict";
|
||||
|
||||
var AbstractView = require("web.AbstractView");
|
||||
var FormView = require("web.FormView");
|
||||
|
||||
AbstractView.include({
|
||||
FormView.include({
|
||||
// We extend this method so that the view is not limited to
|
||||
// just 40 cells when the 'x2many_2d_matrix' widget is used.
|
||||
_setSubViewLimit: function (attrs) {
|
||||
|
@ -13,5 +13,4 @@ odoo.define( "web_widget_x2many_2d_matrix.matrix_limit_extend", function (requir
|
|||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue