Sylius/Sylius — pull request #1833 by umpirsky (2014-10-01 14:39:45+00:00)
Title: [RFC] Reference Promotion from Adjustment

We had cases when we want to apply some actions on order complete based on promotions applied (e.g. deduct gift card credits on order complete). The handiest way to do this without much effort and duplicating logic is to read amount form adjustments. But then we come to a problem of identifying the right adjustment.

Creating new `Adjustment` model which extends existing one and references back `Promotion` can be a life saver here. I think we can put it in promotion component with soft dependency on order component.

What do you think @Sylius/core-team @pjedrzejewski?

cc @kayue