<?xml version="1.0" encoding="utf-8" ?>
<odoo>
  <record id="res_config_settings_view_inherit" model="ir.ui.view">
    <field name="name">res.config.settings.stock_picking_portal</field>
    <field name="model">res.config.settings</field>
    <field name="inherit_id" ref="stock.res_config_settings_view_form" />
    <field name="arch" type="xml">
      <xpath expr="//div[@name='operations_setting_container']" position="inside">
        <div class="col-12 col-lg-6 o_setting_box" id="stock_picking_portal">
          <div class="o_setting_left_pane" />
          <div class="o_setting_right_pane">
            <div class="row mt16">
              <label for="portal_visible_operation_ids" />
              <field
                                name="portal_visible_operation_ids"
                                widget="many2many_tags"
                                placeholder="Select operation types..."
                            />
            </div>
            <div class="text-muted">
              Select which stock operation types should be visible to portal users.
            </div>
          </div>
        </div>
      </xpath>
    </field>
  </record>
</odoo>
