Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0054805 | Retail Modules | Retail API Discount | public | 2024-02-29 13:57 | 2024-04-16 11:18 |
Reporter | AgatheBertin | ||||
Assigned To | Rajesh_18 | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0054805: API Discount : Error when importing promotion "Discretionary Fixed Amount" | ||||
Description | When importing json from discount API with a promotion type Discretionary Fixed Amount, the EDL request is in error with this message : Error while importing an item: class java.lang.String cannot be cast to class org.openbravo.base.structure.BaseOBObject (java.lang.String is in module java.base of loader 'bootstrap'; org.openbravo.base.structure.BaseOBObject is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @53dacd14) | ||||
Steps To Reproduce | Try to import a discount trough the API openbravo/ws/org.openbravo.api.ImportService/Promotion {"client":"XXXX","organization":"*","name":"TESTMANTIS","discountAmount":0,"discountPercentage":5,"startingDate":"2024-02-01","includedBusinessPartners":"Y","includedBPCategories":"Y","includedProducts":"Y","includedProductCategories":"Y","includedOrganizations":"Y","includePriceLists":"Y","includedCharacteristics":"Y","includedRoles":"Y","excludedCharacteristics":"A","includedExternalBusinessPartners":"Y","discountType":"Discretionary Fixed Amount","applyNextDiscount":true,"priceAdjustmentScope":"A","priceAdjustmentType":"P","priceAdjustmentAmount":0,"priceAdjustmentPercentage":10,"distributeBetweenLines":false,"approvalRequired":false,"allowMultipleInstances":false,"applyAfterAutomaticDiscounts":false,"allowInNegativeLines":false,"allowIncreaseLinePrice":true,"totalReceiptAmount":100,"totalPercentageDiscount":15,"isCoupon":false,"amount":4,"currency":"EUR","buyXGiftYSubtype":"BUYALLXGIFTALLY","applyOnce":false,"applicationMethod":"discretionary","verifyPriceLimit":true,"isOTFCoupon":false,"otfApplyMinCouponAmount":false,"applyToProductsUpToTheMaxQuantity":false,"applyMinCouponAmount":false,"organizations":[],"priceLists":[],"products":[],"productCategories":[],"incompatibleDiscounts":[],"availability":[],"businessPartnerCategories":[],"businessPartnerSets":[],"characteristics":[],"crmPropertyConditions":[],"freeProducts":[],"comboFamilies":[],"priceScales":[],"loyaltyPrograms":[]} | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-02-29 13:57 | AgatheBertin | New Issue | |||
2024-02-29 13:57 | AgatheBertin | Assigned To | => Retail | ||
2024-02-29 13:57 | AgatheBertin | Triggers an Emergency Pack | => No | ||
2024-03-08 14:02 | jorgewederago | Status | new => acknowledged | ||
2024-03-11 12:03 | Rajesh_18 | Assigned To | Retail => Rajesh_18 | ||
2024-03-11 12:04 | Rajesh_18 | Status | acknowledged => scheduled | ||
2024-03-12 11:50 | hgbot | Note Added: 0162014 | |||
2024-03-15 13:11 | hgbot | Note Added: 0162230 | |||
2024-03-15 13:11 | hgbot | Resolution | open => fixed | ||
2024-03-15 13:11 | hgbot | Status | scheduled => closed | ||
2024-03-15 13:11 | hgbot | Note Added: 0162231 | |||
2024-04-12 08:21 | AgatheBertin | Note Added: 0163125 | |||
2024-04-12 08:21 | AgatheBertin | Status | closed => new | ||
2024-04-12 08:21 | AgatheBertin | Resolution | fixed => open | ||
2024-04-12 11:11 | hgbot | Note Added: 0163145 | |||
2024-04-15 13:01 | jorgewederago | Status | new => scheduled | ||
2024-04-16 09:40 | kchoperena | Note Added: 0163252 | |||
2024-04-16 11:17 | hgbot | Note Added: 0163257 | |||
2024-04-16 11:18 | hgbot | Note Added: 0163258 | |||
2024-04-16 11:18 | jorgewederago | Status | scheduled => resolved | ||
2024-04-16 11:18 | jorgewederago | Resolution | open => fixed | ||
2024-04-16 11:18 | jorgewederago | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|