File tree Expand file tree Collapse file tree
InventoryCatalog/etc/adminhtml
Ui/Component/Control/Stock
view/adminhtml/ui_component Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 */
77-->
88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9- <!-- Stock delete button -->
10- <type name =" Magento\InventoryCatalog\Ui\Component\Control\Stock\DeleteButton" >
11- <arguments >
12- <argument name =" deleteButton" xsi : type =" object" >Magento\Inventory\Ui\Component\Control\Stock\DeleteButton</argument >
13- </arguments >
14- </type >
159 <!-- Product form configurations -->
1610 <virtualType name =" Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Pool" >
1711 <arguments >
Original file line number Diff line number Diff line change 55 */
66declare (strict_types=1 );
77
8- namespace Magento \InventoryCatalog \Ui \Component \Control \Stock ;
8+ namespace Magento \InventorySales \Ui \Component \Control \Stock ;
99
1010use Magento \Backend \Ui \Component \Control \DeleteButton as StockDeleteButton ;
1111use Magento \Framework \View \Element \UiComponent \Control \ButtonProviderInterface ;
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <!--
3+ /**
4+ * Copyright © Magento, Inc. All rights reserved.
5+ * See COPYING.txt for license details.
6+ */
7+ -->
8+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9+ <!-- Stock delete button -->
10+ <type name =" Magento\InventorySales\Ui\Component\Control\Stock\DeleteButton" >
11+ <arguments >
12+ <argument name =" deleteButton" xsi : type =" object" >Magento\Inventory\Ui\Component\Control\Stock\DeleteButton</argument >
13+ </arguments >
14+ </type >
15+ </config >
Original file line number Diff line number Diff line change 66 */
77-->
88<form xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Ui:etc/ui_configuration.xsd" >
9+ <settings >
10+ <buttons >
11+ <button name =" delete" class =" Magento\InventorySales\Ui\Component\Control\Stock\DeleteButton" />
12+ </buttons >
13+ </settings >
914 <fieldset name =" sales_channels" sortOrder =" 30" >
1015 <settings >
1116 <label translate =" true" >Sales Channels</label >
You can’t perform that action at this time.
0 commit comments