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.

41 lines
1.8 KiB

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="account_analytic_account_journal_form" model="ir.ui.view">
  5. <field name="name">account.analytic.account.journal.form</field>
  6. <field name="model">account.analytic.account</field>
  7. <field name="inherit_id" ref="analytic.view_account_analytic_account_form" />
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='template_id']" position="before">
  10. <field name="journal_id" />
  11. </xpath>
  12. </field>
  13. </record>
  14. <!-- Inherited Analytic Account list for contracts -->
  15. <record id="view_account_analytic_account_journal_tree" model="ir.ui.view">
  16. <field name="name">account.analytic.account.journal.list</field>
  17. <field name="model">account.analytic.account</field>
  18. <field name="inherit_id" ref="account.view_account_analytic_account_list" />
  19. <field name="arch" type="xml">
  20. <field name="partner_id" position="before">
  21. <field name="journal_id" groups="account.group_account_user" />
  22. </field>
  23. </field>
  24. </record>
  25. <!-- Analytic Account search view for contract -->
  26. <record id="view_account_analytic_account_journal_search" model="ir.ui.view">
  27. <field name="name">account.analytic.account.journal.search</field>
  28. <field name="model">account.analytic.account</field>
  29. <field name="inherit_id"
  30. ref="account_analytic_analysis.view_account_analytic_account_overdue_search" />
  31. <field name="arch" type="xml">
  32. <field name="name" position="before">
  33. <field name="journal_id" />
  34. </field>
  35. </field>
  36. </record>
  37. </data>
  38. </openerp>