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.

50 lines
2.1 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_attachment_improved_form" model="ir.ui.view">
  5. <field name="model">ir.attachment.metadata</field>
  6. <field name="inherit_id" ref="attachment_metadata.view_attachment_improved_form" />
  7. <field name="arch" type="xml">
  8. <field name="url" position="after">
  9. <field name="sync_date"/>
  10. <field name="state"/>
  11. <field name="state_message"/>
  12. <field name="task_id"/>
  13. <field name="location_id"/>
  14. </field>
  15. </field>
  16. </record>
  17. <record id="view_external_attachment_tree" model="ir.ui.view">
  18. <field name="model">ir.attachment.metadata</field>
  19. <field name="inherit_id" ref="attachment_metadata.view_external_attachment_tree" />
  20. <field name="arch" type="xml">
  21. <field name="file_type" position="after">
  22. <field name="task_id"/>
  23. <field name="location_id"/>
  24. <field name="type"/>
  25. <field name="create_date"/>
  26. <field name="state"/>
  27. </field>
  28. </field>
  29. </record>
  30. <record id="view_external_attachment_search" model="ir.ui.view">
  31. <field name="model">ir.attachment.metadata</field>
  32. <field name="inherit_id" ref="attachment_metadata.view_external_attachment_search" />
  33. <field name="arch" type="xml">
  34. <field name="type" position="after">
  35. <filter string="Pending" domain="[('state', '=', 'pending')]"/>
  36. <filter string="Failed" domain="[('state', '=', 'failed')]"/>
  37. <filter string="Done" domain="[('state', '=', 'done')]"/>
  38. </field>
  39. <filter string="Creation Month" position="after">
  40. <filter string="State" domain="[]"
  41. context="{'group_by': 'state'}"/>
  42. </filter>
  43. </field>
  44. </record>
  45. </data>
  46. </openerp>