<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="0">
        <record id="seq_picking_type_posout" model="ir.sequence">
            <field name="name">Picking POS</field>
            <field name="prefix">POS</field>
            <field name="padding">5</field>
            <field name="company_id" eval="False"/>
        </record>
        
        <record id="picking_type_posout" model="stock.picking.type">
            <field name="name">PoS Orders</field>
            <field name="sequence_id" ref="seq_picking_type_posout"/>
            <field name="default_location_src_id" ref="stock.stock_location_stock"/>
            <field name="default_location_dest_id" ref="stock.stock_location_customers"/>
            <field name="warehouse_id" eval="False"/>
            <field name="code">outgoing</field>
        </record>
    </data>
    <data noupdate="1">
        <!-- After closing the PoS, open the dashboard menu -->
        <record id="action_client_pos_menu" model="ir.actions.client">
            <field name="name">Open POS Menu</field>
            <field name="tag">reload</field>
            <field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
        </record>

        <record id="product_category_pos" model="product.category">
            <field name="parent_id" ref="product.product_category_1"/>
            <field name="name">PoS</field>
        </record>

        <record id="product_product_tip" model="product.product">
            <field name="name">Tips</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="default_code">TIPS</field>
        </record>

        <record model="pos.config" id="pos_config_main">
            <field name="name">Shop</field>
            <field name="picking_type_id" ref="picking_type_posout"/>
            <field name="barcode_nomenclature_id" ref="barcodes.default_barcode_nomenclature"/>
        </record>

        <record id="product_product_consumable" model="product.product">
            <field name="name">Miscellaneous</field>
            <field name="available_in_pos">True</field>
            <field name="standard_price">13.0</field>
            <field name="list_price">18.0</field>
            <field name="type">consu</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="uom_id" ref="uom.product_uom_unit"/>
            <field name="uom_po_id" ref="uom.product_uom_unit"/>
            <field name="default_code">MISC</field>
            <field name="image" type="base64" file="point_of_sale/static/img/product_product_49-image.jpg"/>
        </record>

        <record id="pos_sale_journal" model="account.journal">
            <field name="name">POS Sale Journal</field>
            <field name="code">POSS</field>
            <field name="type">sale</field>
            <!-- avoid being selected as default journal -->
            <field name="sequence">20</field>
        </record>

        <record id="uom.product_uom_categ_unit" model="uom.category">
            <field name="is_pos_groupable">True</field>
        </record>
    </data>
</odoo>

<commit_msg>[FIX] point_of_sale: Tips product available in pos<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="0">
        <record id="seq_picking_type_posout" model="ir.sequence">
            <field name="name">Picking POS</field>
            <field name="prefix">POS</field>
            <field name="padding">5</field>
            <field name="company_id" eval="False"/>
        </record>
        
        <record id="picking_type_posout" model="stock.picking.type">
            <field name="name">PoS Orders</field>
            <field name="sequence_id" ref="seq_picking_type_posout"/>
            <field name="default_location_src_id" ref="stock.stock_location_stock"/>
            <field name="default_location_dest_id" ref="stock.stock_location_customers"/>
            <field name="warehouse_id" eval="False"/>
            <field name="code">outgoing</field>
        </record>
    </data>
    <data noupdate="1">
        <!-- After closing the PoS, open the dashboard menu -->
        <record id="action_client_pos_menu" model="ir.actions.client">
            <field name="name">Open POS Menu</field>
            <field name="tag">reload</field>
            <field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
        </record>

        <record id="product_category_pos" model="product.category">
            <field name="parent_id" ref="product.product_category_1"/>
            <field name="name">PoS</field>
        </record>

        <record id="product_product_tip" model="product.product">
            <field name="name">Tips</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="default_code">TIPS</field>
            <field name="available_in_pos" eval="True"/>
        </record>

        <record model="pos.config" id="pos_config_main">
            <field name="name">Shop</field>
            <field name="picking_type_id" ref="picking_type_posout"/>
            <field name="barcode_nomenclature_id" ref="barcodes.default_barcode_nomenclature"/>
        </record>

        <record id="product_product_consumable" model="product.product">
            <field name="name">Miscellaneous</field>
            <field name="available_in_pos">True</field>
            <field name="standard_price">13.0</field>
            <field name="list_price">18.0</field>
            <field name="type">consu</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="uom_id" ref="uom.product_uom_unit"/>
            <field name="uom_po_id" ref="uom.product_uom_unit"/>
            <field name="default_code">MISC</field>
            <field name="image" type="base64" file="point_of_sale/static/img/product_product_49-image.jpg"/>
        </record>

        <record id="pos_sale_journal" model="account.journal">
            <field name="name">POS Sale Journal</field>
            <field name="code">POSS</field>
            <field name="type">sale</field>
            <!-- avoid being selected as default journal -->
            <field name="sequence">20</field>
        </record>

        <record id="uom.product_uom_categ_unit" model="uom.category">
            <field name="is_pos_groupable">True</field>
        </record>
    </data>
</odoo>


{'fraction_non_alphanumeric': 0.15344242050015436, 'fraction_numerical': 0.005866008027168879, 'mean_word_length': 2.6666666666666665, 'pattern_counts': {'":': 0, '<': 174, '<?xml version=': 2, '>': 174, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3624219', 'n_tokens_mistral': 1981, 'n_tokens_neox': 1925, 'n_words': 319}