diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-06-19 07:06:35 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-06-22 13:04:02 +0000 |
| commit | 8abbc5a3b573c87120f0147f4913292e7cb12aa8 (patch) | |
| tree | 57bfd4f19f114f98634d91c65aacf9d3ad228e43 /addons/lunch | |
| parent | c1b4ad7c6d7044de41af8cf106374c86e1b97eef (diff) | |
[REF] *: adapt code to web changes
Some changes in AbstractModel have been done to ease the
implementation of the sample data feature. This commit reverberates
those changes in other addons.
Part of task 2232801
X-original-commit: dd8069a3c80570e7fa03a80dbb100ab0a182692a
Diffstat (limited to 'addons/lunch')
| -rw-r--r-- | addons/lunch/static/src/js/lunch_model.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/lunch/static/src/js/lunch_model.js b/addons/lunch/static/src/js/lunch_model.js index cd99b6ff834..720b43565ec 100644 --- a/addons/lunch/static/src/js/lunch_model.js +++ b/addons/lunch/static/src/js/lunch_model.js @@ -31,7 +31,7 @@ var LunchModel = BasicModel.extend({ return self._buildLocationDomainLeaf() ? [self._buildLocationDomainLeaf()]: []; }); }, - load: function () { + __load: function () { var self = this; var args = arguments; var _super = this._super; @@ -43,7 +43,7 @@ var LunchModel = BasicModel.extend({ return _super.apply(self, args); }); }, - reload: function (id, options) { + __reload: function (id, options) { var domain = options && options.domain || this.localData[id].domain; this._addOrUpdate(domain, this._buildLocationDomainLeaf()); |
