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.

39 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="account_analytic_account_payment_form" model="ir.ui.view">
  4. <field name="name">account.analytic.account.payment.form</field>
  5. <field name="model">account.analytic.account</field>
  6. <field name="inherit_id" ref="analytic.view_account_analytic_account_form" />
  7. <field name="arch" type="xml">
  8. <xpath expr="//field[@name='partner_id']" position="after">
  9. <field name="payment_mode_id" />
  10. </xpath>
  11. </field>
  12. </record>
  13. <!-- Inherited Analytic Account list for contracts -->
  14. <record id="view_account_analytic_account_payment_tree" model="ir.ui.view">
  15. <field name="name">account.analytic.account.payment.list</field>
  16. <field name="model">account.analytic.account</field>
  17. <field name="inherit_id" ref="analytic.view_account_analytic_account_list" />
  18. <field name="arch" type="xml">
  19. <field name="partner_id" position="after">
  20. <field name="payment_mode_id" />
  21. </field>
  22. </field>
  23. </record>
  24. <!-- Analytic Account search view for contract -->
  25. <record id="view_account_analytic_account_search" model="ir.ui.view">
  26. <field name="name">account.analytic.account.search</field>
  27. <field name="model">account.analytic.account</field>
  28. <field name="inherit_id" ref="analytic.view_account_analytic_account_search" />
  29. <field name="arch" type="xml">
  30. <field name="name" position="after">
  31. <field name="payment_mode_id" />
  32. </field>
  33. </field>
  34. </record>
  35. </odoo>