|
|
<odoo> <record id="invoice_form" model="ir.ui.view"> <field name="name">account.invoice.form</field> <field name="model">account.invoice</field> <field name="inherit_id" ref="account.invoice_form"/> <field name="arch" type="xml"> <field name="move_id" position="after"> <field name="subscription_request"/> </field> </field> </record>
<record id="action_invoice_tree_coop" model="ir.actions.act_window"> <field name="name">Cooperator Invoices</field> <field name="res_model">account.invoice</field> <field name="view_type">form</field> <field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> <field eval="False" name="view_id"/> <field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field> <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> <field name="search_view_id" ref="account.view_account_invoice_filter"/> <field name="help" type="html"> <p class="o_view_nocontent_smiling_face"> Create a customer invoice </p> <p> Create invoices, register payments and keep track of the discussions with your customers. </p> </field> </record>
<record id="action_invoice_tree1_view1" model="ir.actions.act_window.view"> <field eval="1" name="sequence"/> <field name="view_mode">tree</field> <field name="view_id" ref="account.invoice_tree"/> <field name="act_window_id" ref="action_invoice_tree_coop"/> </record>
<record id="action_invoice_tree1_view2" model="ir.actions.act_window.view"> <field eval="2" name="sequence"/> <field name="view_mode">form</field> <field name="view_id" ref="account.invoice_form"/> <field name="act_window_id" ref="action_invoice_tree_coop"/> </record>
<record id="account.action_invoice_tree1" model="ir.actions.act_window"> <field name="name">Customer Invoices</field> <field name="res_model">account.invoice</field> <field name="view_type">form</field> <field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> <field eval="False" name="view_id"/> <field name="domain">[('type','in',('out_invoice','out_refund')),('release_capital_request','=',False)]</field> <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> <field name="search_view_id" ref="account.view_account_invoice_filter"/> <field name="help" type="html"> <p class="o_view_nocontent_smiling_face"> Create a customer invoice </p> <p> Create invoices, register payments and keep track of the discussions with your customers. </p> </field> </record>
<record id="account.action_invoice_refund_out_tree" model="ir.actions.act_window"> <field name="name">Invoices</field> <field name="res_model">account.invoice</field> <field name="view_type">form</field> <field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> <field name="view_id" ref="account.invoice_tree"/> <field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']), ('release_capital_request','=',False)]</field> <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> <field name="search_view_id" ref="account.view_account_invoice_filter"/> </record> </odoo>
|