flectra/addons/website_sale/views/account_views.xml
2018-01-16 02:34:37 -08:00

24 lines
1.2 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>
</flectra>