[FIX] web: properly update qweb view state in reload
closes odoo/odoo#33822 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
This commit is contained in:
@@ -65,8 +65,9 @@ var Model = AbstractModel.extend({
|
||||
/**
|
||||
* reload
|
||||
*/
|
||||
reload: function (_id, _params) {
|
||||
// FIXME: update this._state or something?
|
||||
reload: function (_id, params) {
|
||||
_.extend(this._state, _.pick(params, ['domain', 'context']));
|
||||
|
||||
return this._fetch();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user