-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
13851 Added improvements for credit memo total fields #27343
13851 Added improvements for credit memo total fields #27343
Conversation
Hi @sergiy-v. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
work in progress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep backwards compatible constructors :-)
\Magento\Framework\Serialize\Serializer\Json $serializer = null | ||
) { | ||
$this->convertor = $convertOrderFactory->create(); | ||
$this->taxConfig = $taxConfig; | ||
$this->localeFormat = $localeFormat; | ||
$this->serializer = $serializer ?: \Magento\Framework\App\ObjectManager::getInstance()->get( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove backward compatible class loader and add your dependency as last.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes has been added, thank you.
4080a6c
to
c939a4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only import the Json
class and fix the Static Tests failure.
) { | ||
$this->convertor = $convertOrderFactory->create(); | ||
$this->taxConfig = $taxConfig; | ||
$this->serializer = $serializer ?: \Magento\Framework\App\ObjectManager::getInstance()->get( | ||
$this->serializer = $serializer ?: ObjectManager::getInstance()->get( | ||
\Magento\Framework\Serialize\Serializer\Json::class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also import that class. I recommend you to use alias JsonSerializer
to be explicit what it does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes has been added, thank you for recommendation.
9f35810
to
60ce499
Compare
I believe the tests errors not related to the changes, @lbajsarowicz could you please check it. Thank you. |
@magento run all tests |
@lbajsarowicz please check the changes once you will have a chance. Thank you. |
60ce499
to
4046760
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing tests aren't related with this PR. I've linked the PR that should fix the failing Unit Test.
Thank you.
Hi @eduard13, thank you for the review. |
@magento run all tests |
@magento run all tests |
After reviewing with Product managers was decided to add the PR to the next I would request to check the next scenarios:
As a QA report should be:
|
Hi @sergiy-v, thank you for your contribution! |
Hello @engcom-Alfa I know that you have done additional and advanced testing for this PR before the merge. |
Hello @sdzhepa I checked the PR and everything works well. What was tested:1. The issue described in #13851
Before: ✖️ After: ✔️ 2. Also checked additional cases:
|
Description
Added improvements for credit memo (new page) total fields.
Related Pull Requests
#27492
Fixed Issues
#13851
Manual testing scenarios
See #13851 issue description for details.
Contribution checklist