<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018-2019 Eficent Business and IT Consulting Services S.L.
     License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo>

    <record id="view_purchase_request_line_make_purchase_order" model="ir.ui.view">
        <field name="name">Purchase Request Line Make Purchase Order</field>
        <field name="model">purchase.request.line.make.purchase.order</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
             <form string="Create RFQ">
                 <separator string="Existing RFQ to update:"/>
                 <newline/>
                 <group>
                    <field name="purchase_order_id"
                        domain="[('partner_id', '=', supplier_id)]"/>
                    <field name="sync_data_planned"/>
                 </group>
                 <newline/>
                 <separator
                         string="New PO details:"/>
                 <newline/>
                 <group>
                     <field name="supplier_id"/>
                 </group>
                 <newline/>
                 <group>
                     <field name="item_ids" nolabel="1" colspan="2">
                          <tree string="Details" create="false" editable="bottom">
                              <field name="line_id"
                                   options="{'no_open': true}"
                                   invisible="1"/>
                              <field name="request_id" readonly="1"/>
                              <field name="product_id" readonly="1"/>
                              <field name="name"/>
                              <field name="product_qty"/>
                              <field name="product_uom_id"
                                     groups="uom.group_uom"/>
                              <field name="keep_description"/>
                          </tree>
                     </field>
                 </group>
                 <newline/>
                 <footer>
                     <button name="make_purchase_order"
                             string="Create RFQ" type="object"
                             class="oe_highlight"/>
                     <button special="cancel" string="Cancel" class="oe_link"/>
                 </footer>
            </form>
        </field>
    </record>
<commit_msg>[11.0][IMP] purchase_request: Allow change product on make PO<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018-2019 Eficent Business and IT Consulting Services S.L.
     License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo>

    <record id="view_purchase_request_line_make_purchase_order" model="ir.ui.view">
        <field name="name">Purchase Request Line Make Purchase Order</field>
        <field name="model">purchase.request.line.make.purchase.order</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
             <form string="Create RFQ">
                 <separator string="Existing RFQ to update:"/>
                 <newline/>
                 <group>
                    <field name="purchase_order_id"
                        domain="[('partner_id', '=', supplier_id)]"/>
                    <field name="sync_data_planned"/>
                 </group>
                 <newline/>
                 <separator
                         string="New PO details:"/>
                 <newline/>
                 <group>
                     <field name="supplier_id"/>
                 </group>
                 <newline/>
                 <group>
                     <field name="item_ids" nolabel="1" colspan="2">
                          <tree string="Details" create="false" editable="bottom">
                              <field name="line_id"
                                   options="{'no_open': true}"
                                   invisible="1"/>
                              <field name="request_id" readonly="1"/>
                              <field name="product_id"/>
                              <field name="name"/>
                              <field name="product_qty"/>
                              <field name="product_uom_id"
                                     groups="uom.group_uom"/>
                              <field name="keep_description"/>
                          </tree>
                     </field>
                 </group>
                 <newline/>
                 <footer>
                     <button name="make_purchase_order"
                             string="Create RFQ" type="object"
                             class="oe_highlight"/>
                     <button special="cancel" string="Cancel" class="oe_link"/>
                 </footer>
            </form>
        </field>
    </record>

{'fraction_non_alphanumeric': 0.12415071031500927, 'fraction_numerical': 0.008647313156269302, 'mean_word_length': 1.147656940760389, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 2, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3318232', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1157, 'n_words': 228}