I'm not familiar with that module and don't fully understand what you're trying 
to do. However, it looks like you need to create a new action on a view with a 
domain set.

Something like:

<record model="ir.actions.act_window" id="action_esale_osc_form2">
&nbsp; &nbsp;&nbsp; &nbsp;<field name="type">ir.actions.act_window</field>
&nbsp; &nbsp;&nbsp; &nbsp;<field name="res_model">esale_osc.web</field>
&nbsp; &nbsp;&nbsp; &nbsp;<field name="view_type">form</field>
&nbsp; &nbsp;&nbsp; &nbsp;<field name="view_id" ref="view_esale_osc_form"/>
&nbsp; &nbsp;&nbsp; &nbsp;<field name="domain">&#91;&#40;'shop_id','=', 
1&#41;&#93;</field>
&nbsp; &nbsp;</record>






_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to