Hello Ronald Portier (Therp), I have tested as your description and get the same problem. And your attached patch is working fine for this.
It will be merged soon in main branch. Thanks for reporting ! -- You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee. https://bugs.launchpad.net/bugs/768918 Title: error in evaluating view domain Status in OpenERP Web Client: Confirmed Bug description: Steps to reproduce: add an action to the menu containing a domain. When the domain contains whitespace, it will lead to an error when evaluated and the domain will be silently dropped. The gtk client is working correctly. <record id="action_msf_balance_lines" model="ir.actions.act_window"> <field name="name">Balance Lines</field> <field name="res_model">account.move.line</field> <field name="view_type">form</field> <field name="view_mode">tree,form</field> <field name="view_id" ref="msf_balance_tree" /> <field name="domain"> [('account_id.user_type.report_type','in', ['asset','liability'])]</field> <field name="search_view_id" ref="msf_balance_search" /> <field name="context">{'msf_raw_view':True}</field> </record> The tree view is shown to the user withouth any error or warning displayed, however it will contain all records, instead of just the records that satisfy the domain criteria. The reason this occurs is because the gtk client is stripping whitespace from the domain-criteria before evaluating. This is not done in the web client. Error found in the 6.0 branch revision 4563, confirmed in latest revision 4589 _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-web Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-web More help : https://help.launchpad.net/ListHelp

