<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- © 2017 Comunitea
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="product_pricelist_item_tre_editable" model="ir.ui.view">
        <field name="name">product.pricelist.item.tree.editable</field>
        <field name="model">product.pricelist.item</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree string="Pricelist Items" editable="top">
                <field name="sequence" widget="handle"/>
                <field colspan="4" name="name"/>
                <field name="product_id" groups="product.group_product_variant"/>
                <field name="product_tmpl_id"/>
                <field name="categ_id"/>
                <field name="min_quantity"/>
                <field name="date_start"/>
                <field name="date_end"/>
                <field name="fixed_price"/>
            </tree>
        </field>
    </record>


    <record id="product_pricelist_item_fixed_price_action" model="ir.actions.act_window">
        <field name="name">Fixed prices</field>
        <field name="res_model">product.pricelist.item</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="view_id" ref="product_pricelist_item_tre_editable"/>
        <field name="domain">[('compute_price', '=', 'fixed')]</field>
    </record>

    <menuitem name="Fixed prices" parent="sale.menu_product_pricelist_main"<commit_msg>[IMP]jim_sale: Añadida vista búsqueda a reglas de precios.<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- © 2017 Comunitea
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="product_pricelist_item_tre_editable" model="ir.ui.view">
        <field name="name">product.pricelist.item.tree.editable</field>
        <field name="model">product.pricelist.item</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree string="Pricelist Items" editable="top">
                <field name="sequence" widget="handle"/>
                <field colspan="4" name="name"/>
                <field name="product_id" groups="product.group_product_variant"/>
                <field name="product_tmpl_id"/>
                <field name="categ_id"/>
                <field name="min_quantity"/>
                <field name="date_start"/>
                <field name="date_end"/>
                <field name="fixed_price"/>
            </tree>
        </field>
    </record>


    <record id="product_pricelist_item_view_search" model="ir.ui.view">
        <field name="name">product.pricelist.item.search</field>
        <field name="model">product.pricelist.item</field>
        <field name="type">search</field>
        <field name="arch" type="xml">
            <search>
               <field name="name"/>
               <field name="product_id"/>
               <field name="product_tmpl_id"/>
               <field name="pricelist_id"/>
           </search>
        </field>
    </record>

    <record id="product_pricelist_item_fixed_price_action" model="ir.actions.act_window">
        <field name="name">Fixed prices</field>
        <field name="res_model">product.pricelist.item</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="view_id" ref="product_pricelist_item_tre_editable"/>
        <field name="search_view_id" ref="product_pricelist_item_view_search"/>
        <field name="domain">[('compute_price', '=', 'fixed')]</field>
    </record>

    <menuitem name="Fixed prices" parent="sale.menu_product_pricelist_main"
{'fraction_non_alphanumeric': 0.16063287744703675, 'fraction_numerical': 0.0053633681952266025, 'mean_word_length': 2.6640471512770136, 'pattern_counts': {'":': 0, '<': 96, '<?xml version=': 2, '>': 94, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 5}, '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': '5741444', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1107, 'n_words': 183}