diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-09-23 12:25:49 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-09-23 16:22:35 +0200 |
| commit | 5885e5d9d077d7ca1ad87e547f4a0b9635bf55f0 (patch) | |
| tree | 775156bb857e127bd8d8f0b60d2dc876f8392cd4 /addons/website_event/controllers/main.py | |
| parent | 70dac31fea2bdedd5aebf6615eb929f762326456 (diff) | |
[FIX] website_event: categories display
Indeed the type field has been renamed to event_type_id. However some code
was still relying on the type and type_count names, instead of event_type_id
and event_type_id_count.
Diffstat (limited to 'addons/website_event/controllers/main.py')
| -rw-r--r-- | addons/website_event/controllers/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_event/controllers/main.py b/addons/website_event/controllers/main.py index d6e42dd00e2..a97acb0fb4c 100644 --- a/addons/website_event/controllers/main.py +++ b/addons/website_event/controllers/main.py @@ -101,8 +101,8 @@ class website_event(http.Controller): type_count = event_obj.search(request.cr, request.uid, domain, count=True, context=request.context) types.insert(0, { - 'type_count': type_count, - 'type': ("all", _("All Categories")) + 'event_type_id_count': type_count, + 'event_type_id': ("all", _("All Categories")) }) domain = dom_without('country') |
