Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create external reference id

Tags:

odoo

I have duplicated a new group in OpenERP 6.1.1 . Now I need to create an external reference id for it since I need to refer it in a view.

Normally, I guess, I should have created the group using an xml file but now I have already been using the group and assigned users to it so I don't wan't to redo the whole thing again.

Is there a simpler way ? Please suggest. Thanks in advance.

like image 614
helloworld Avatar asked Mar 08 '26 00:03

helloworld


1 Answers

You can manually insert a row in the table ir_model_data. name is the external id and res_id is integer id. Other required fields are module and model.

like image 168
Mohammad Alhashash Avatar answered Mar 10 '26 16:03

Mohammad Alhashash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!