Related to RM-4145: API changes for Contributions
Overview
This development adds a new product type called Contribution as well as extending the Product model configuration through the addition of a Product Subtype. A Contribution can be defined as an extra charge associated with a product, e.g. an "Eco-tax" on a product that contains plastic. Contributions are primarily configured via their product subtype.
What's New
Added Constraint
Product Table
Added constraint M_PRODUCT_CONTRIBUTION_CHECK to table M_PRODUCT:
- defined as: PRODUCTTYPE <> 'C' OR M_PRODUCT_SUBTYPE_ID IS NOT NULL
Reason For Change
API change was detected in try-backoffice job: https://builds.openbravo.com/job/try-init/3556/console
Impact
Low (New constraint added for new product type)
Links
RM-4145
Jira:54623
Mantis:MRs:
- Core: openbravo/product/openbravo!1135 (merged)
- Backoffice API: !67 (merged)
- WebPOS: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1466
- WebPOS2: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2478
- Business API: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/238
- WebPOS Sampledata: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/129
- Retail Sampledata: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/92
- Retail Automatic Tests Sampledata: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/91
- Coupons OTF: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/49/edit
Docs:
Testing Performed
- try-backoffice (error due to API change -> !67 (merged))
- try-retail
- try-pos2
Edited by Frank González