summaryrefslogtreecommitdiff
path: root/addons/web_planner/static/src/xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-12-23 17:36:56 +0100
committerDenis Ledoux <dle@odoo.com>2015-12-23 17:59:36 +0100
commit79a0d1defbf977125d188bd5d9b95d708385ddce (patch)
tree155038dabc39d3180b87ef1710339e3e86b6d548 /addons/web_planner/static/src/xml
parent7021221e2ecb2193909a5d2d566bbc66aa8d6ee1 (diff)
Revert "[FIX] models: in `onchange`, add missing fields when comparing values"
This reverts commit 882bbf46e2b821423b79747b53ab5687aa850363. This revision leads to a crash when creating a new user: Traceback (most recent call last): File "/home/dle/odoo/9/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/dle/odoo/9/openerp/http.py", line 680, in dispatch result = self._call_function(**self.params) File "/home/dle/odoo/9/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/dle/odoo/9/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/home/dle/odoo/9/openerp/http.py", line 309, in checked_call result = self.endpoint(*a, **kw) File "/home/dle/odoo/9/openerp/http.py", line 959, in __call__ return self.method(*args, **kw) File "/home/dle/odoo/9/openerp/http.py", line 509, in response_wrap response = f(*args, **kw) File "/home/dle/odoo/enterprise-9/web/controllers/main.py", line 907, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/dle/odoo/enterprise-9/web/controllers/main.py", line 899, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/home/dle/odoo/9/openerp/api.py", line 238, in wrapper return old_api(self, *args, **kwargs) File "/home/dle/odoo/9/openerp/api.py", line 369, in old_api result = method(recs, *args, **kwargs) File "/home/dle/odoo/9/openerp/models.py", line 5998, in onchange record.mapped(name) File "/home/dle/odoo/9/openerp/models.py", line 5497, in mapped recs = recs._mapped_func(operator.itemgetter(name)) File "/home/dle/odoo/9/openerp/models.py", line 5477, in _mapped_func vals = [func(rec) for rec in self] File "/home/dle/odoo/9/openerp/models.py", line 5715, in __getitem__ return self._fields[key].__get__(self, type(self)) KeyError: u'in_group_18'
Diffstat (limited to 'addons/web_planner/static/src/xml')
0 files changed, 0 insertions, 0 deletions