mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
38 lines
1.9 KiB
XML
38 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- © 2014 Numérigraphe, Sodexis
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
|
|
|
<odoo>
|
|
<record id="view_stock_configuration" model="ir.ui.view">
|
|
<field name="name">Stock settings: quantity available to promise</field>
|
|
<field name="model">stock.config.settings</field>
|
|
<field name="inherit_id" ref="stock.view_stock_config_settings" />
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<xpath expr="//group[last()]" position="after">
|
|
<group>
|
|
<label for="id" string="Stock available to promise" />
|
|
<div>
|
|
<div>
|
|
<field name="module_stock_available_immediately"
|
|
class="oe_inline" />
|
|
<label for="module_stock_available_immediately" />
|
|
</div>
|
|
<!-- <div>
|
|
<field name="module_stock_available_sale" class="oe_inline" />
|
|
<label for="module_stock_available_sale" />
|
|
</div> -->
|
|
<div>
|
|
<field name="module_stock_available_mrp" class="oe_inline" />
|
|
<label for="module_stock_available_mrp" />
|
|
<label for="stock_available_mrp_based_on" />
|
|
<field name="stock_available_mrp_based_on" class="oe_inline" attrs="{'required':[('module_stock_available_mrp','=',True)]}"/>
|
|
</div>
|
|
</div>
|
|
</group>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
</odoo>
|