[REM] sale_stock: delete unused file

The file stock_config_settings_views.xml is not mentioned in the manifest, and
it is wrong as the model `stock.config.settings` which does not exist anymore

closes odoo/odoo#27540
This commit is contained in:
Simone Rubino
2018-10-12 13:13:04 +00:00
committed by Martin Trigaux
parent 94221c596b
commit d704d616f9
@@ -1,59 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="stock_config_settings_view_form_inherit_sale_stock" model="ir.ui.view">
<field name="name">stock.config.settings.inherit.sale.stock</field>
<field name="model">stock.config.settings</field>
<field name="inherit_id" ref="stock.view_stock_config_settings"/>
<field name="arch" type="xml">
<div id="warning_info" position="after">
<div class="col-12 col-lg-6 o_setting_box" title="Reserving products manually in delivery orders or by running the scheduler is advised to better manage priorities in case of long customer lead times or/and frequent stock-outs. By default, the scheduler runs automatically every 24 hours.">
<div class="o_setting_right_pane">
<label for="module_procurement_jit"/>
<div class="text-muted">
When to reserve sold products
</div>
<div class="content-group">
<div class="mt16">
<field name="module_procurement_jit" class="o_light_label" widget="radio"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="default_picking_policy"/>
<div class="text-muted">
When to start shipping
</div>
<div class="content-group">
<div class="mt16">
<field name="default_picking_policy" class="o_light_label" widget="selection"/>
</div>
</div>
</div>
</div>
</div>
<div id="sale_security_lead" position="replace">
<div class="col-12 col-lg-6 o_setting_box" title="Margin of error for dates promised to customers. Products will be scheduled for procurement and delivery that many days earlier than the actual promised date, to cope with unexpected delays in the supply chain.">
<div class="o_setting_left_pane">
<field name="use_security_lead"/>
</div>
<div class="o_setting_right_pane">
<label for="use_security_lead"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." role="img" aria-label="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="text-muted">
Schedule deliveries earlier to avoid delays
</div>
<div class="content-group">
<div class="mt16" attrs="{'invisible': [('use_security_lead','=',False)]}">
<span>Move forward expected delivery dates by <field name="security_lead" class="oe_inline"/> days</span>
</div>
</div>
</div>
</div>
</div>
</field>
</record>
</odoo>