Skip to Content
Menu
This question has been flagged
875 Views

I created two database , the first database is where I made changes using Studio by adding new fields. I also created a new model through settings>technical>models>create(developer mode activated) which I then added as a new field in field service app using studio. Lastly, I exported this customizations using studio and used the exported "customizations.zip" to import in the second database. It failed and provided this error message

while parsing /tmp/tmp7ds3hupv/studio_customization/data/ir_model_fields.xml:3, near <record id="studio_customization.surveymodel_task_e184bcca-76f3-4f4b-938a-786806ea7be7" model="ir.model.fields" context="{'studio': True}"> <field name="complete_name" eval="False"/> <field name="compute" eval="False"/> <field name="copied" eval="True"/> <field name="depends" eval="False"/> <field name="domain">[]</field> <field name="field_description">surveymodel</field> <field name="groups" eval="[(6, 0, [])]"/> <field name="help" eval="False"/> <field name="index" eval="False"/> <field name="model">project.task</field> <field name="model_id" ref="project.model_project_task"/> <field name="name">x_studio_many2one_field_VFeK5</field> <field name="on_delete">set null</field> <field name="readonly" eval="False"/> <field name="related" eval="False"/> <field name="relation">x_surveymodel</field> <field name="relation_field" eval="False"/> <field name="relation_table" eval="False"/> <field name="required" eval="False"/> <field name="selectable" eval="True"/> <field name="selection" eval="False"/> <field name="size" eval="False"/> <field name="state">manual</field> <field name="store" eval="True"/> <field name="tracking" eval="False"/> <field name="translate" eval="False"/> <field name="ttype">many2one</field> </record> Make sure those modules are installed and try again.

Note: The two database have the same applications installed. I tested exporting and importing without creating a new model, just added new fields in field service app and it worked.

Avatar
Discard