Eric,

The default product view does not have a product_tmpl_id field, so the client 
can't find it.

Add the field "product_tmpl_id" to the view and then your action will work. In 
fact this:
<act_window name="Technical documents"
domain="&#91;&#40;'res_id', '=', product_tmpl_id&#41;&#93;"
res_model="ir.attachment"
src_model="product.product"
view_type="form"
view_mode="tree,form"
id="act_product_2_product_template_attach"/>

works in my case...

Regards,
Pedro





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

Reply via email to