Skip to Content
Menu
This question has been flagged
2 Replies
4321 Views

I am working with Studio in a test environment and i want to move the changes over to my production database. When i go to import the customization .Zip file i get the following error. Anyone know what the problem is?


Error while importing module 'studio_customization'.

Only custom models can be modified.

<odoo>
<record id="account.model_account_move" model="ir.model" context="{'studio': True}">
<field name="info"> Main super-class for regular database-persisted Odoo models.

Odoo models are created by inheriting from this class::

class user(Model):
...

The system will later instantiate the class once per database (on
which the class' module is installed).
</field>
<field name="is_mail_thread" eval="True"/>
<field name="model">account.move</field>
<field name="name">Journal Entries</field>
<field name="state">base</field>
<field name="transient" eval="False"/>
</record>
<record id="sale.model_sale_order" model="ir.model" context="{'studio': True}">
<field name="info"> Main super-class for regular database-persisted Odoo models.

Odoo models are created by inheriting from this class::

class user(Model):
...

The system will later instantiate the class once per database (on
which the class' module is installed).
</field>
<field name="is_mail_thread" eval="True"/>
<field name="model">sale.order</field>
<field name="name">Sales Order</field>
<field name="state">base</field>
<field name="transient" eval="False"/>
</record>
</odoo>
file:/c:/windows/temp/tmpdi34bq_l/studio_customization/data/ir_model.xml
2
Make sure those modules are installed and try again. 

Avatar
Discard
Author Best Answer

Niyas,

Thanks for the response. I have made sure all modules are installed, but i still get the same error. 

Avatar
Discard

Can you post the error message correctly. The last part of the error message that you are getting

Author

That is the entire error message i get.

Best Answer

Hi,

Not sure what exactly the issue is, anyway as shown in the last part of the question, you have to make sure that all the modules you have installed in the test environment is installed in the production where you import the studio customization.

If you take an example, in the test db you have customized sales module using studio and if you import that customization to a database where sales module is not installed, there is chance for getting error. So make sure that all modules on which the customization are done is installed in the new database.

Thanks

Avatar
Discard