qbicsoftware / offer-manager-2-portlet

The offer manager assists in creating offers with version control and person master data handling.
MIT License
2 stars 1 forks source link

Conserve price information for products when added to an offer #962

Closed sven1103 closed 1 year ago

sven1103 commented 1 year ago

Currently, price updates for service products can only be done in a safe way when the target products get updated (archiving and creating a new one).

With this approach, new service product ids are created, which is confusing for simple price updates: its still the same product we offer.

With this refactor, we make value object out of the product entities when added to an offer and therefore conserve the information of the product at the timepoint of the addition.