Skip to Content
Menu
This question has been flagged
1557 Views

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

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 24
376
2
May 23
6767
1
Feb 22
21388
5
Dec 21
15002
0
Dec 20
3649