mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Take sale quotations into account in the stock quantity available to promise
Cherry-picked from 497068f5f5
Conflicts:
stock_available/res_config.py
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<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" />
|
|
</div> -->
|
|
</div>
|
|
</group>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp> |