You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_model_fields_form" model="ir.ui.view">
  5. <field name="type">form</field>
  6. <field name="model">ir.model.fields</field>
  7. <field name="inherit_id" ref="base.view_model_fields_form" />
  8. <field name="arch" type="xml">
  9. <data>
  10. <field name="serialization_field_id" position="after">
  11. <button type="object" name="action_unserialize_field"
  12. string="Unserialize field" colspan="4"
  13. attrs="{'invisible': ['|', ('serialization_field_id','=',False), ('state', '!=', 'manual')]}"
  14. />
  15. </field>
  16. </data>
  17. </field>
  18. </record>
  19. <record id="view_model_form" model="ir.ui.view">
  20. <field name="type">form</field>
  21. <field name="model">ir.model</field>
  22. <field name="inherit_id" ref="base.view_model_form" />
  23. <field name="arch" type="xml">
  24. <data>
  25. <field name="serialization_field_id" position="after">
  26. <button type="object" name="action_unserialize_field"
  27. string="Unserialize field" colspan="4"
  28. attrs="{'invisible': ['|', ('serialization_field_id','=',False), ('state', '!=', 'manual')]}"
  29. />
  30. </field>
  31. </data>
  32. </field>
  33. </record>
  34. </data>
  35. </openerp>