You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- Inventory settings form view inherited -->
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">
|
|
res.config.settings.view.form.inherit.user.warehouse.restriction
|
|
</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="priority" eval="1"/>
|
|
<field name="inherit_id" ref="stock.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='use_own_routes']" position="after">
|
|
<div class="col-12 col-lg-6 o_setting_box"
|
|
id="warehouse_restriction"
|
|
title="Enable Warehouse restriction" attrs="{'invisible':[('group_stock_multi_locations','=',False)]}">
|
|
<div class="o_setting_left_pane">
|
|
<field name="group_user_warehouse_restriction"/>
|
|
</div>
|
|
|
|
<div class="o_setting_right_pane">
|
|
<label for="group_user_warehouse_restriction"/>
|
|
<div class="text-muted">
|
|
Enable Warehouse restriction
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|