Skip to Content
Menu
This question has been flagged
2065 Rodiniai

Hi all,

I'm using odoo v8

I'm writing some module which is use (base on) the module "product_custom_info".

now, I need to make sure when I install my module, they will add some custom template (which is store in "custom_info_template") and some property (which is store in "custom_info_property")

I checked inside the table "custom_info_template" there is a field "model_id" and "model"

I know the model name is product.template but how to get the model_id of it when I install a module?

regards

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
liep. 25
9666
1
geg. 25
1859
0
saus. 24
2488
1
vas. 22
24972
5
gruod. 21
17572