1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <!-- receipt -->
- <record model="ir.ui.view" id="view_vendor_receipt_form">
- <field name="name">account.voucher.receipt.form</field>
- <field name="model">account.voucher</field>
- <field name="inherit_id" ref="account_voucher.view_vendor_receipt_form"/>
- <field name="arch" type="xml">
- <field name="journal_id" position="attributes">
- <attribute name="widget"></attribute>
- </field>
- </field>
- </record>
- <!-- payments -->
- <record model="ir.ui.view" id="view_vendor_payment_form">
- <field name="name">account.voucher.payment.form</field>
- <field name="model">account.voucher</field>
- <field name="inherit_id" ref="account_voucher.view_vendor_payment_form"/>
- <field name="arch" type="xml">
- <field name="journal_id" position="attributes">
- <attribute name="widget"></attribute>
- </field>
- </field>
- </record>
- <!-- dialog -->
- <record model="ir.ui.view" id="view_vendor_receipt_dialog_form">
- <field name="name">account.voucher.receipt.dialog.form</field>
- <field name="model">account.voucher</field>
- <field name="inherit_id" ref="account_voucher.view_vendor_receipt_dialog_form"/>
- <field name="arch" type="xml">
- <field name="journal_id" position="attributes">
- <attribute name="widget"></attribute>
- </field>
- </field>
- </record>
- <record id="account_voucher.action_vendor_receipt" model="ir.actions.act_window">
- <field name="domain">[('type','=','receipt')]</field>
- </record>
- <record id="account_voucher.action_vendor_payment" model="ir.actions.act_window">
- <field name="domain">[('type','=','payment')]</field>
- </record>
- </data>
- </openerp>
|