35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
<record id="action_invoices_ecommerce" 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</field>
|
|
<field name="domain">[('team_id.website_ids', '!=', False)]</field>
|
|
<field name="view_id" ref="account.invoice_tree"/>
|
|
<field name="context">{'type':'out_invoice'}</field>
|
|
<field name="search_view_id" ref="account.view_account_invoice_filter"/>
|
|
</record>
|
|
|
|
<record id="website_product_pricelist3" model="ir.actions.act_window">
|
|
<field name="name">Pricelists</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">product.pricelist</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="domain">[('website_id', '!=', False)]</field>
|
|
<field name="search_view_id" ref="product.product_pricelist_view_search" />
|
|
<field name="context">{"default_base":'list_price'}</field>
|
|
</record>
|
|
|
|
<record id="view_invoice_form_inherit" model="ir.ui.view">
|
|
<field name="name">account.invoice.form.inherit</field>
|
|
<field name="model">account.invoice</field>
|
|
<field name="inherit_id" ref="account.invoice_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name='fiscal_position_id' position="after">
|
|
<field name="website_id"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</flectra> |