Skip to content

Commit

Permalink
update upgrade file after changes with tax adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
arti0090 committed Dec 16, 2020
1 parent 1771cad commit 85f5b34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions UPGRADE-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ from `slug` to `code`.
```
bin/console doctrine:migrations:version 'CoreBundle/Migrations/Version20201208105207' --add
```

1. The base of `Adjustment` class has changed. If you extend your adjustments already(or have them overridden by default, because of Sylius-Standard usage), you should base your Adjustment class on `AdjustmentFQCN`

```diff
- use Sylius\Component\Order\Model\Adjustment as BaseAdjustment;
+ use Sylius\Component\Core\Model\Adjustment as BaseAdjustment;
```

0 comments on commit 85f5b34

Please sign in to comment.