mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Allow to create stock.quants making the quants smart button not invisible when quantity is equal to 0. (Removing one of the invisible conditions). [IMP] stock_inventory: adds exclude_sublocation flag [IMP] stock_inventory: Add flag to autocomplete adjustment when fully done. [IMP] stock_inventory Add company to adjustments to avoid multi-company errors. Adds information fields to tree view. Also adds 'Assign to' in stock inventory that propagates to quants. Also propagates the date field.
29 lines
1.4 KiB
XML
29 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- Copyright 2019-2023 ForgeFlow S.L.
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res_config_settings_view_form - stock_inventory</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[@id='production_lot_info']" position='after'>
|
|
<h2>Stock Inventory</h2>
|
|
<div class="row mt16 o_settings_container">
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="stock_inventory_auto_complete" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="stock_inventory_auto_complete" />
|
|
<div class="text-muted">
|
|
If enabled, when all the quants prepared for the adjustment are done, the adjustment is automatically set to done.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|