I try to get the product's template id. I do like the following:

template = self.pool.get('product.template')
template.id

but no property id on template. In fact I checked the code and there is no 
property id defined on this entity.

Advice:
- the best way is to inherit and put a id in the entity.
- is there another way to get the ids of the objects?

kind regards




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

--
http://www.openerp.com/forum/viewtopic.php?p=24268#24268

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


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

Reply via email to