account_view.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_payment_term_line_form" model="ir.ui.view">
  5. <field name="name">account.payment.term.line.form.extension</field>
  6. <field name="model">account.payment.term.line</field>
  7. <field name="inherit_id" ref="account.view_payment_term_line_form"/>
  8. <field name="arch" type="xml">
  9. <div attrs="{'invisible':[('value','=','balance')]}" position="after">
  10. <field name="amount_round"
  11. attrs="{'invisible':[('value','=','balance')]}"/>
  12. </div>
  13. <field name="days" position="after">
  14. <field name="weeks"/>
  15. <field name="months"/>
  16. </field>
  17. <field name="days" position="before">
  18. <field name="start_with_end_month"/>
  19. </field>
  20. </field>
  21. </record>
  22. <record id="view_payment_term_line_tree" model="ir.ui.view">
  23. <field name="name">account.payment.term.line.tree.extension</field>
  24. <field name="model">account.payment.term.line</field>
  25. <field name="inherit_id" ref="account.view_payment_term_line_tree" />
  26. <field name="arch" type="xml">
  27. <field name="value_amount" position="after">
  28. <field name="amount_round"/>
  29. </field>
  30. <field name="days" position="after">
  31. <field name="weeks"/>
  32. <field name="months"/>
  33. </field>
  34. <field name="days" position="before">
  35. <field name="start_with_end_month"/>
  36. </field>
  37. </field>
  38. </record>
  39. </data>
  40. </openerp>