<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="product_template_search_view_website" model="ir.ui.view">
        <field name="name">product.template.search.published</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_search_view"/>
        <field name="arch" type="xml">
            <xpath expr="//filter[@name='consumable']" position="after">
                <separator/>
                <filter string="Published" name="published" domain="[('website_published', '=', True)]"/>
            </xpath>
        </field>
    </record>

    <record id="product_template_action" model="ir.actions.act_window">
        <field name="name">Products</field>
        <field name="res_model">product.template</field>
        <field name="view_type">form</field>
        <field name="view_mode">kanban,tree,form</field>
        <field name="context">{'search_default_published': 1, 'default_website_published': True}</field>
    </record>

    <record id="view_sales_order_filter_ecommerce" model="ir.ui.view">
        <field name="name">sale.order.ecommerce.search.view</field>
        <field name="model">sale.order</field>
        <field name="inherit_id" ref="sale.view_sales_order_filter"/>
        <field name="arch" type="xml">
            <search>
                <filter string="From Website" name="from_website" domain="[('team_id.website_ids', '!=', False)]"/>
            </search>
        </field>
    </record>

    <record id="action_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', 'in', ('sale', 'done'))]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any confirmed order from the website.</field>
    </record>

    <record id="action_unpaid_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">Unpaid eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', '=', 'sent')]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any unpaid order from the website.</field>
    </record>

    <record id="action_abandonned_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">Abandonned eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', '=', 'cancel')]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any cancelled order from the website.</field>
    </record>

    <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>

    <menuitem id="menu_orders" name="Orders" parent="website.menu_website_configuration" sequence="2"/>
    <menuitem id="menu_catalog" name="Catalog" parent="website.menu_website_configuration" sequence="3"/>

    <!-- Orders sub-menus -->
    <menuitem id="menu_orders_orders" name="Orders" parent="menu_orders" action="action_orders_ecommerce" sequence="1"/>
    <menuitem id="menu_orders_unpaid_orders" name="Unpaid Orders" parent="menu_orders" action="action_unpaid_orders_ecommerce" sequence="2"/>
    <menuitem id="menu_orders_abandonned_orders" name="Abandonned Orders" parent="menu_orders" action="action_abandonned_orders_ecommerce" sequence="3"/>
    <menuitem id="menu_orders_invoices" name="Invoices" parent="menu_orders" action="action_invoices_ecommerce" sequence="4"/>

    <!-- Catalog sub-menus -->
    <menuitem id="menu_catalog_products" name="Products" parent="menu_catalog" action="product_template_action" sequence="1"/>
    <menuitem id="menu_catalog_categories" parent="menu_catalog" action="product_public_category_action" sequence="2"/>
    <menuitem id="menu_catalog_pricelists" name="Pricelists" parent="menu_catalog" action="product.product_pricelist_action2" sequence="3"/>

    <!-- Configuration sub-menus -->
    <menuitem id="menu_ecommerce_settings" parent="website.menu_website_global_configuration" name="eCommerce"/>
    <menuitem id="menu_ecommerce_payment_acquirers" parent="menu_ecommerce_settings" name="Payment Acquirers" action="payment.action_payment_acquirer"/>


</odoo><commit_msg>[IMP] website_sale: move Pricelist menuitem<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="product_template_search_view_website" model="ir.ui.view">
        <field name="name">product.template.search.published</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_search_view"/>
        <field name="arch" type="xml">
            <xpath expr="//filter[@name='consumable']" position="after">
                <separator/>
                <filter string="Published" name="published" domain="[('website_published', '=', True)]"/>
            </xpath>
        </field>
    </record>

    <record id="product_template_action" model="ir.actions.act_window">
        <field name="name">Products</field>
        <field name="res_model">product.template</field>
        <field name="view_type">form</field>
        <field name="view_mode">kanban,tree,form</field>
        <field name="context">{'search_default_published': 1, 'default_website_published': True}</field>
    </record>

    <record id="view_sales_order_filter_ecommerce" model="ir.ui.view">
        <field name="name">sale.order.ecommerce.search.view</field>
        <field name="model">sale.order</field>
        <field name="inherit_id" ref="sale.view_sales_order_filter"/>
        <field name="arch" type="xml">
            <search>
                <filter string="From Website" name="from_website" domain="[('team_id.website_ids', '!=', False)]"/>
            </search>
        </field>
    </record>

    <record id="action_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', 'in', ('sale', 'done'))]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any confirmed order from the website.</field>
    </record>

    <record id="action_unpaid_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">Unpaid eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', '=', 'sent')]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any unpaid order from the website.</field>
    </record>

    <record id="action_abandonned_orders_ecommerce" model="ir.actions.act_window">
        <field name="name">Abandonned eCommerce Orders</field>
        <field name="res_model">sale.order</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state', '=', 'cancel')]</field>
        <field name="context">{'show_sale': True, 'search_default_from_website': 1}</field>
        <field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
        <field name="help">You don't have any cancelled order from the website.</field>
    </record>

    <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>

    <menuitem id="menu_orders" name="Orders" parent="website.menu_website_configuration" sequence="2"/>
    <menuitem id="menu_catalog" name="Catalog" parent="website.menu_website_configuration" sequence="3"/>

    <!-- Orders sub-menus -->
    <menuitem id="menu_orders_orders" name="Orders" parent="menu_orders" action="action_orders_ecommerce" sequence="1"/>
    <menuitem id="menu_orders_unpaid_orders" name="Unpaid Orders" parent="menu_orders" action="action_unpaid_orders_ecommerce" sequence="2"/>
    <menuitem id="menu_orders_abandonned_orders" name="Abandonned Orders" parent="menu_orders" action="action_abandonned_orders_ecommerce" sequence="3"/>
    <menuitem id="menu_orders_invoices" name="Invoices" parent="menu_orders" action="action_invoices_ecommerce" sequence="4"/>

    <!-- Catalog sub-menus -->
    <menuitem id="menu_catalog_products" name="Products" parent="menu_catalog" action="product_template_action" sequence="1"/>
    <menuitem id="menu_catalog_categories" parent="menu_catalog" action="product_public_category_action" sequence="2"/>

    <!-- Configuration sub-menus -->
    <menuitem id="menu_ecommerce_settings" parent="website.menu_website_global_configuration" name="eCommerce"/>
    <menuitem id="menu_ecommerce_payment_acquirers" parent="menu_ecommerce_settings" name="Payment Acquirers" action="payment.action_payment_acquirer"/>
    <menuitem id="menu_catalog_pricelists" name="Pricelists" parent="menu_ecommerce_settings" action="product.product_pricelist_action2" sequence="3"/>


</odoo>
{'fraction_non_alphanumeric': 0.16322911805879609, 'fraction_numerical': 0.0031731217918805413, 'mean_word_length': 4.498204207285788, 'pattern_counts': {'":': 0, '<': 233, '<?xml version=': 2, '>': 233, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4922365', 'n_tokens_mistral': 3371, 'n_tokens_neox': 3256, 'n_words': 527}