Azazahmed Saiyed (OpenERP) (saz-openerp) has assigned this bug to you for 
OpenERP Web Client:

If i define an ir.action.act_window like this:
        <record model="ir.actions.act_window" id="action_id">
            <field name="name">My partners list</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.partner</field>
            <field name="domain">[('category_id','=','MyCategory')]</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" ref="view_id"/>
        </record>

If i trigger the action from menu, it shows me the tree view of partners
filtered by "MyCategory", but if i try to create a new partner from this
view, clicking "New", it throws an exception, looking for an integer
(id) instead of a string (name).

Here's the stacktrace
http://pastie.org/1767062


Using 
openerp-server v.6.0.1
openerp-web v.6.0.1
on
Mac OS X v.10.6.6

** Affects: openobject-client
     Importance: Low
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Confirmed

** Affects: openobject-client-web
     Importance: Low
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed


** Tags: action domain server window
-- 
domain on action causes an exception in form view
https://bugs.launchpad.net/bugs/753344
You received this bug notification because you are a member of OpenERP SA's Web 
Client R&D, which is a bug assignee.

_______________________________________________
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

Reply via email to