Skip to content
This repository was archived by the owner on Apr 22, 2019. It is now read-only.

Commit 7f0c4e7

Browse files
author
Richard Sisco
committed
Merge branch 'release/1.2.5'
2 parents 8dfb3b6 + 839ae96 commit 7f0c4e7

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.2.5 (2017-11-29)
2+
3+
* Fix error when processing queue for some invoices [#94](https://github.com/classyllama/ClassyLlama_AvaTax/issues/94)
4+
15
### 1.2.4 (2017-11-27)
26

37
* Fix bug that prevents DI compilation [#85](https://github.com/classyllama/ClassyLlama_AvaTax/issues/85)

Framework/AppInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ interface AppInterface
2020
/**
2121
* If this is updated it must also be updated in composer.json
2222
*/
23-
const APP_VERSION = '1.2.4';
23+
const APP_VERSION = '1.2.5';
2424
}

Helper/TaxClass.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function populateCorrectTaxClasses($items, $storeId)
238238
if ($item->getParentItem()) {
239239
continue;
240240
}
241-
$productIds[] = $item->getOrderItem()->getProduct()->getId();
241+
$productIds[] = $item->getOrderItem()->getProductId();
242242
}
243243

244244
// Loading products via a collection rather than a repository as it's not possible to load a repository with

Model/Quote/GrandTotalDetailsPluginAbstract.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class GrandTotalDetailsPluginAbstract extends \Magento\Tax\Model\Quote\GrandTota
2929
* @param \Magento\Quote\Api\Data\TotalSegmentExtensionFactory $totalSegmentExtensionFactory
3030
* @param \Magento\Tax\Model\Config $taxConfig
3131
* @param \ClassyLlama\AvaTax\Api\Data\GrandTotalRatesExtensionFactory $grandTotalRatesExtensionFactory
32-
* @param \Magento\Framework\App\ProductMetadataInterface $productMetadata
3332
* @param \Magento\Framework\Serialize\Serializer\Json $serializer
3433
*/
3534
public function __construct(
@@ -38,7 +37,6 @@ public function __construct(
3837
\Magento\Quote\Api\Data\TotalSegmentExtensionFactory $totalSegmentExtensionFactory,
3938
\Magento\Tax\Model\Config $taxConfig,
4039
\ClassyLlama\AvaTax\Api\Data\GrandTotalRatesExtensionFactory $grandTotalRatesExtensionFactory,
41-
\Magento\Framework\App\ProductMetadataInterface $productMetadata,
4240
\Magento\Framework\Serialize\Serializer\Json $serializer
4341
)
4442
{
@@ -74,15 +72,13 @@ class GrandTotalDetailsPluginAbstract extends \Magento\Tax\Model\Quote\GrandTota
7472
* @param \Magento\Quote\Api\Data\TotalSegmentExtensionFactory $totalSegmentExtensionFactory
7573
* @param \Magento\Tax\Model\Config $taxConfig
7674
* @param \ClassyLlama\AvaTax\Api\Data\GrandTotalRatesExtensionFactory $grandTotalRatesExtensionFactory
77-
* @param \Magento\Framework\App\ProductMetadataInterface $productMetadata
7875
*/
7976
public function __construct(
8077
\Magento\Tax\Api\Data\GrandTotalDetailsInterfaceFactory $detailsFactory,
8178
\Magento\Tax\Api\Data\GrandTotalRatesInterfaceFactory $ratesFactory,
8279
\Magento\Quote\Api\Data\TotalSegmentExtensionFactory $totalSegmentExtensionFactory,
8380
\Magento\Tax\Model\Config $taxConfig,
84-
\ClassyLlama\AvaTax\Api\Data\GrandTotalRatesExtensionFactory $grandTotalRatesExtensionFactory,
85-
\Magento\Framework\App\ProductMetadataInterface $productMetadata
81+
\ClassyLlama\AvaTax\Api\Data\GrandTotalRatesExtensionFactory $grandTotalRatesExtensionFactory
8682
)
8783
{
8884
$this->grandTotalRatesExtensionFactory = $grandTotalRatesExtensionFactory;

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "classyllama/module-avatax",
33
"type": "magento2-module",
4-
"version": "1.2.4",
4+
"version": "1.2.5",
55
"license": "OSL-3.0",
66
"require": {
77
"magento/framework": "^100.1.0|101.0.*",

0 commit comments

Comments
 (0)