I don't see what you mean with the on_change.
You could may be help me...

What i want to do : Create a new view based on the products
but i only want to see a specified category.
For this, i create a new view in my module, and i associate it 
with the following action:

<record>
            <field>Pièces detachées</field>
            <field>product.product</field>
            <field>[('categ_id', '=', 1)]</field>
            <field>{'categ_id':1}</field>
</record>

It works but it's quite ugly and dangerous to specify an id like this.
If i put the category name, it works with the domain but not with context...




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=38189#38189

-------------------- m2f --------------------


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

Reply via email to