account_voucher_view.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- receipt -->
  5. <record model="ir.ui.view" id="view_vendor_receipt_form">
  6. <field name="name">account.voucher.receipt.form</field>
  7. <field name="model">account.voucher</field>
  8. <field name="inherit_id" ref="account_voucher.view_vendor_receipt_form"/>
  9. <field name="arch" type="xml">
  10. <field name="journal_id" position="attributes">
  11. <attribute name="widget"></attribute>
  12. </field>
  13. </field>
  14. </record>
  15. <!-- payments -->
  16. <record model="ir.ui.view" id="view_vendor_payment_form">
  17. <field name="name">account.voucher.payment.form</field>
  18. <field name="model">account.voucher</field>
  19. <field name="inherit_id" ref="account_voucher.view_vendor_payment_form"/>
  20. <field name="arch" type="xml">
  21. <field name="journal_id" position="attributes">
  22. <attribute name="widget"></attribute>
  23. </field>
  24. </field>
  25. </record>
  26. <!-- dialog -->
  27. <record model="ir.ui.view" id="view_vendor_receipt_dialog_form">
  28. <field name="name">account.voucher.receipt.dialog.form</field>
  29. <field name="model">account.voucher</field>
  30. <field name="inherit_id" ref="account_voucher.view_vendor_receipt_dialog_form"/>
  31. <field name="arch" type="xml">
  32. <field name="journal_id" position="attributes">
  33. <attribute name="widget"></attribute>
  34. </field>
  35. </field>
  36. </record>
  37. <record id="account_voucher.action_vendor_receipt" model="ir.actions.act_window">
  38. <field name="domain">[('type','=','receipt')]</field>
  39. </record>
  40. <record id="account_voucher.action_vendor_payment" model="ir.actions.act_window">
  41. <field name="domain">[('type','=','payment')]</field>
  42. </record>
  43. </data>
  44. </openerp>