hr_payslip_view.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <openerp>
  3. <data>
  4. <record id="view_paid_payslip_form" model="ir.ui.view">
  5. <field name="name">view.paid.payslip.form</field>
  6. <field name="model">hr.payslip</field>
  7. <field name="inherit_id" ref="hr_payroll.view_hr_payslip_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='state']" position="attributes">
  10. <attribute name="statusbar_visible">draft,done,paid</attribute>
  11. </xpath>
  12. <xpath expr="//page[@string='Accounting Information']" position="after">
  13. <page string="Payments">
  14. <field name="reconciled" invisible="1"/>
  15. <field name="payment_ids">
  16. <tree string="Payments">
  17. <field name="date" string="Payment Date"/>
  18. <field name="move_id"/>
  19. <field name="ref"/>
  20. <field name="name"/>
  21. <field name="journal_id"/>
  22. <field name="debit"/>
  23. <field name="credit"/>
  24. <field name="amount_currency"/>
  25. <field name="currency_id" groups="base.group_multi_currency"/>
  26. </tree>
  27. </field>
  28. </page>
  29. </xpath>
  30. </field>
  31. </record>
  32. </data>
  33. </openerp>