diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2013-09-29 23:24:31 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2013-09-29 23:24:31 +0200 |
| commit | 0ab6dfd4481584849f44ffe6a6c57ae2d3c1e8e2 (patch) | |
| tree | 010b4177c9c339910bbf31c2d04288f366a285fd /addons/website_hr/controllers | |
| parent | 9f5a163bcb642f45c85979e40c5213d723cebc45 (diff) | |
[IMP] Our Team Page
bzr revid: fp@openerp.com-20130929212431-e833rd9kvf40eepj
Diffstat (limited to 'addons/website_hr/controllers')
| -rw-r--r-- | addons/website_hr/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_hr/controllers/main.py b/addons/website_hr/controllers/main.py index 89b1658ce04..c387b2e5c07 100644 --- a/addons/website_hr/controllers/main.py +++ b/addons/website_hr/controllers/main.py @@ -9,7 +9,7 @@ class website_hr(http.Controller): @website.route(['/page/website.aboutus'], type='http', auth="public", multilang=True) def blog(self, **post): hr_obj = request.registry['hr.employee'] - employee_ids = hr_obj.search(request.cr, request.uid, [(1, "=", 1)], + employee_ids = hr_obj.search(request.cr, request.uid, [('website_published', '=', True)], context=request.context) values = { 'employee_ids': hr_obj.browse(request.cr, request.uid, employee_ids, |
