Skip to content

Commit 4f11992

Browse files
author
Yaroslav Onischenko
committed
Merge remote-tracking branch 'origin/MAGETWO-58512' into SEGFAULT_BANNERS_PR
2 parents 0c82102 + c25608b commit 4f11992

File tree

1 file changed

+0
-59
lines changed

1 file changed

+0
-59
lines changed

app/code/Magento/CatalogInventory/view/adminhtml/ui_component/product_form.xml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -431,65 +431,6 @@
431431
</formElements>
432432
</field>
433433
</container>
434-
<container name="container_deferred_stock_update" component="Magento_Ui/js/form/components/group" sortOrder="850">
435-
<argument name="data" xsi:type="array">
436-
<item name="config" xsi:type="array">
437-
<item name="formElement" xsi:type="string">container</item>
438-
<item name="label" xsi:type="string" translate="true">Use Deferred Stock Update</item>
439-
<item name="dataScope" xsi:type="string">stock_data</item>
440-
<item name="scopeLabel" xsi:type="string">[GLOBAL]</item>
441-
</item>
442-
</argument>
443-
<field name="deferred_stock_update" formElement="select">
444-
<argument name="data" xsi:type="array">
445-
<item name="config" xsi:type="array">
446-
<item name="rawOptions" xsi:type="boolean">true</item>
447-
<item name="value" xsi:type="object">Magento\CatalogInventory\Model\Source\StockConfiguration</item>
448-
</item>
449-
</argument>
450-
<settings>
451-
<scopeLabel>[GLOBAL]</scopeLabel>
452-
<label translate="true">Use Deferred Stock Update</label>
453-
<dataScope>deferred_stock_update</dataScope>
454-
</settings>
455-
<formElements>
456-
<select>
457-
<settings>
458-
<options class="Magento\Config\Model\Config\Source\Yesno"/>
459-
</settings>
460-
</select>
461-
</formElements>
462-
</field>
463-
<field name="use_config_deferred_stock_update" component="Magento_CatalogInventory/js/components/use-config-settings" formElement="checkbox">
464-
<argument name="data" xsi:type="array">
465-
<item name="config" xsi:type="array">
466-
<item name="value" xsi:type="string">1</item>
467-
<item name="valueFromConfig" xsi:type="object">Magento\CatalogInventory\Model\Source\StockConfiguration</item>
468-
<item name="keyInConfiguration" xsi:type="string">deferred_stock_update</item>
469-
</item>
470-
</argument>
471-
<settings>
472-
<dataScope>use_config_deferred_stock_update</dataScope>
473-
<links>
474-
<link name="linkedValue">${$.provider}:data.product.stock_data.deferred_stock_update</link>
475-
</links>
476-
<exports>
477-
<link name="checked">${$.parentName}.deferred_stock_update:disabled</link>
478-
</exports>
479-
</settings>
480-
<formElements>
481-
<checkbox class="Magento\CatalogInventory\Ui\Component\Product\Form\Element\UseConfigSettings">
482-
<settings>
483-
<description translate="true">Use Config Settings</description>
484-
<valueMap>
485-
<map name="false" xsi:type="string">0</map>
486-
<map name="true" xsi:type="string">1</map>
487-
</valueMap>
488-
</settings>
489-
</checkbox>
490-
</formElements>
491-
</field>
492-
</container>
493434
<container name="container_notify_stock_qty" component="Magento_Ui/js/form/components/group" sortOrder="900">
494435
<argument name="data" xsi:type="array">
495436
<item name="config" xsi:type="array">

0 commit comments

Comments
 (0)