Activity log for bug #1159909

Date Who What changed Old value New value Message
2013-03-25 17:18:19 Thibault Delavallée (OpenERP) bug added bug
2013-03-25 17:18:56 Thibault Delavallée (OpenERP) affects openobject-addons openerp-web
2013-03-25 17:18:56 Thibault Delavallée (OpenERP) openerp-web: milestone 7.0
2013-03-25 17:19:06 Thibault Delavallée (OpenERP) openerp-web: milestone 7.0
2013-03-25 18:46:08 Thibault Delavallée (OpenERP) summary String value passed into context instead of int String value passed into context instead of int when having a self
2013-03-25 18:46:26 Thibault Delavallée (OpenERP) description String value passed into context instead of int. Steps - 7.0 runbot, with at least CRM installed - Go into Leads - Filter by searching a section / salesteam (ex: Sales Department) (which gives a 'Sales Team Sales Department' filter in the search bar) - Click on create - Get a traceback [...] File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/osv/orm.py", line 3656, in _read_flat cr.execute(query, [tuple(sub_ids)] + rule_params) File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/sql_db.py", line 161, in wrapper return f(self, *args, **kwargs) File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) DataError: invalid input syntax for integer: "Sales Department" LINE 1: ... "crm_case_section" WHERE crm_case_section.id IN ('Sales Dep... Related view (crm/crm_lead_view.xml): <field name="section_id" context="{'invisible_section': False, 'default_section_id': self}"/> String value passed into context instead of int when having a self. Steps - 7.0 runbot, with at least CRM installed - Go into Leads - Filter by searching a section / salesteam (ex: Sales Department) (which gives a 'Sales Team Sales Department' filter in the search bar) - Click on create - Get a traceback     [...]     File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/osv/orm.py", line 3656, in _read_flat       cr.execute(query, [tuple(sub_ids)] + rule_params)     File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/sql_db.py", line 161, in wrapper       return f(self, *args, **kwargs)     File "/home/odoo/runbot/static/openerp-dev-7-0-5463/server/openerp/sql_db.py", line 226, in execute       res = self._obj.execute(query, params)     DataError: invalid input syntax for integer: "Sales Department"     LINE 1: ... "crm_case_section" WHERE crm_case_section.id IN ('Sales Dep... Related view (crm/crm_lead_view.xml):   <field name="section_id" context="{'invisible_section': False, 'default_section_id': self}"/> Issue seems to be due to self.
2013-03-26 13:23:13 Xavier (Open ERP) openerp-web: status Confirmed Invalid