<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
       <menuitem icon="terp-purchase" id="base.menu_purchase_root" name="Purchases" sequence="3"
           groups="group_purchase_manager,group_purchase_user"
           web_icon="images/purchases.png"
           web_icon_hover="images/purchases-hover.png"/>
       <menuitem id="menu_procurement_management" name="Purchase"
            parent="base.menu_purchase_root" sequence="1" />

        <menuitem id="menu_purchase_config_purchase" name="Configuration"
            groups="group_purchase_manager"
            parent="base.menu_purchase_root" sequence="100"/>

        <menuitem
            id="menu_purchase_config_pricelist" name="Pricelists"
            parent="menu_purchase_config_purchase" sequence="50" groups="product.group_purchase_pricelist"/>

        <menuitem
            action="product.product_pricelist_action" id="menu_product_pricelist_action_purhase"
            parent="menu_purchase_config_pricelist" sequence="20" groups="base.group_no_one"/>

        <menuitem
            action="product.product_pricelist_action_for_purchase" id="menu_product_pricelist_action2_purchase"
            parent="menu_purchase_config_pricelist" sequence="10" />

        <menuitem
            id="menu_product_in_config_purchase" name="Products"
            parent="menu_purchase_config_purchase" sequence="30" groups="base.group_no_one"/>

        <menuitem
            action="product.product_category_action_form" id="menu_product_category_config_purchase"
            parent="purchase.menu_product_in_config_purchase" sequence="1" />

        <menuitem
            id="menu_purchase_unit_measure_purchase" name="Units of Measure"
            parent="purchase.menu_product_in_config_purchase"  sequence="20" groups="product.group_uom"/>

        <menuitem
             action="product.product_uom_categ_form_action" id="menu_purchase_uom_categ_form_action"
             parent="purchase.menu_product_in_config_purchase" sequence="5" />

        <menuitem
              action="product.product_uom_form_action" id="menu_purchase_uom_form_action"
              parent="purchase.menu_product_in_config_purchase" sequence="10"/>

        <menuitem
            id="menu_purchase_partner_cat" name="Address Book"
            parent="menu_purchase_config_purchase"/>

        <menuitem
            action="base.action_partner_category_form" id="menu_partner_categories_in_form" name="Partner Categories"
            parent="purchase.menu_purchase_partner_cat" groups="base.group_no_one"/>

     <!--supplier menu-->
    <menuitem id="base.menu_procurement_management_supplier_name" name="Suppliers"
            parent="menu_procurement_management"
            action="base.action_partner_supplier_form" sequence="15"/>

          <!--Inventory control-->
      <menuitem id="menu_procurement_management_inventory" name="Receive Products"
            parent="base.menu_purchase_root" sequence="4"/>
      <menuitem action="stock.action_picking_tree4" id="menu_action_picking_tree4" parent="menu_procurement_management_inventory"
            name="Incoming Shipments" sequence="9"/>
      <menuitem action="stock.action_reception_picking_move" id="menu_action_picking_tree_in_move"
            parent="menu_procurement_management_inventory" sequence="11"/>

     <!--Invoice control-->
     <menuitem id="menu_procurement_management_invoice" name="Invoice Control"
          parent="base.menu_purchase_root" sequence="6"/>

    <record id="action_invoice_pending" model="ir.actions.act_window">
        <field name="res_model">account.invoice</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form,calendar,graph</field>
        <field eval="False" name="view_id"/>
        <field name="domain">[('type','=','in_invoice')]</field>
        <field name="context">{'default_type':'in_invoice', 'type':'in_invoice', 'journal_type': 'purchase', 'search_default_draft': 1}</field>
        <field name="search_view_id" ref="account.view_account_invoice_filter"/>
            <field name="help">Use this menu to control the invoices to be received from your supplier. OpenERP pregenerates draft invoices from your purchase orders or receptions, according to your settings. Once you receive a supplier invoice, you can match it with the draft invoice and validate it.</field><commit_msg>[IMP]purchase: added a action string on invoice<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
       <menuitem icon="terp-purchase" id="base.menu_purchase_root" name="Purchases" sequence="3"
           groups="group_purchase_manager,group_purchase_user"
           web_icon="images/purchases.png"
           web_icon_hover="images/purchases-hover.png"/>
       <menuitem id="menu_procurement_management" name="Purchase"
            parent="base.menu_purchase_root" sequence="1" />

        <menuitem id="menu_purchase_config_purchase" name="Configuration"
            groups="group_purchase_manager"
            parent="base.menu_purchase_root" sequence="100"/>

        <menuitem
            id="menu_purchase_config_pricelist" name="Pricelists"
            parent="menu_purchase_config_purchase" sequence="50" groups="product.group_purchase_pricelist"/>

        <menuitem
            action="product.product_pricelist_action" id="menu_product_pricelist_action_purhase"
            parent="menu_purchase_config_pricelist" sequence="20" groups="base.group_no_one"/>

        <menuitem
            action="product.product_pricelist_action_for_purchase" id="menu_product_pricelist_action2_purchase"
            parent="menu_purchase_config_pricelist" sequence="10" />

        <menuitem
            id="menu_product_in_config_purchase" name="Products"
            parent="menu_purchase_config_purchase" sequence="30" groups="base.group_no_one"/>

        <menuitem
            action="product.product_category_action_form" id="menu_product_category_config_purchase"
            parent="purchase.menu_product_in_config_purchase" sequence="1" />

        <menuitem
            id="menu_purchase_unit_measure_purchase" name="Units of Measure"
            parent="purchase.menu_product_in_config_purchase"  sequence="20" groups="product.group_uom"/>

        <menuitem
             action="product.product_uom_categ_form_action" id="menu_purchase_uom_categ_form_action"
             parent="purchase.menu_product_in_config_purchase" sequence="5" />

        <menuitem
              action="product.product_uom_form_action" id="menu_purchase_uom_form_action"
              parent="purchase.menu_product_in_config_purchase" sequence="10"/>

        <menuitem
            id="menu_purchase_partner_cat" name="Address Book"
            parent="menu_purchase_config_purchase"/>

        <menuitem
            action="base.action_partner_category_form" id="menu_partner_categories_in_form" name="Partner Categories"
            parent="purchase.menu_purchase_partner_cat" groups="base.group_no_one"/>

     <!--supplier menu-->
    <menuitem id="base.menu_procurement_management_supplier_name" name="Suppliers"
            parent="menu_procurement_management"
            action="base.action_partner_supplier_form" sequence="15"/>

          <!--Inventory control-->
      <menuitem id="menu_procurement_management_inventory" name="Receive Products"
            parent="base.menu_purchase_root" sequence="4"/>
      <menuitem action="stock.action_picking_tree4" id="menu_action_picking_tree4" parent="menu_procurement_management_inventory"
            name="Incoming Shipments" sequence="9"/>
      <menuitem action="stock.action_reception_picking_move" id="menu_action_picking_tree_in_move"
            parent="menu_procurement_management_inventory" sequence="11"/>

     <!--Invoice control-->
     <menuitem id="menu_procurement_management_invoice" name="Invoice Control"
          parent="base.menu_purchase_root" sequence="6"/>

    <record id="action_invoice_pending" model="ir.actions.act_window">
        <field name="name">Based on draft invoices</field>
        <field name="res_model">account.invoice</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form,calendar,graph</field>
        <field eval="False" name="view_id"/>
        <field name="domain">[('type','=','in_invoice')]</field>
        <field name="context">{'default_type':'in_invoice', 'type':'in_invoice', 'journal_type': 'purchase', 'search_default_draft': 1}</field>
        <field name="search_view_id" ref="account.view_account_invoice_filter"/>
            <field name="help">Use this menu to control the invoices to be received from your supplier. OpenERP pregenerates draft invoices from your purchase orders or receptions, according to your settings. Once you receive a supplier invoice, you can match it with the draft invoice and validate it.</field>
{'fraction_non_alphanumeric': 0.11238609517381033, 'fraction_numerical': 0.007424907188660142, 'mean_word_length': 3.914317302377004, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 2, '>': 83, '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': '1665101', 'n_tokens_mistral': 2701, 'n_tokens_neox': 2633, 'n_words': 384}