File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* Order create address form
17
+ *
17
18
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
18
19
*/
19
20
class Address extends \Magento \Sales \Block \Adminhtml \Order \Create \Form \AbstractForm
@@ -216,15 +217,12 @@ public function getAddressCollectionJson()
216
217
* Prepare Form and add elements to form
217
218
*
218
219
* @return $this
219
- *
220
220
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
221
221
* @SuppressWarnings(PHPMD.NPathComplexity)
222
222
*/
223
223
protected function _prepareForm ()
224
224
{
225
- $ storeId = $ this ->getCreateOrderModel ()
226
- ->getSession ()
227
- ->getStoreId ();
225
+ $ storeId = $ this ->getAddressStoreId ();
228
226
$ this ->_storeManager ->setCurrentStore ($ storeId );
229
227
230
228
$ fieldset = $ this ->_form ->addFieldset ('main ' , ['no_container ' => true ]);
You can’t perform that action at this time.
0 commit comments