Merge pull request #1772 from nabinhait/v4-hotfix

Update tax amount after discount in existing documents