Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0046055 | Retail Modules | Retail API | public | 2021-03-11 16:11 | 2021-03-16 12:08 | ||||||||||||||
| Reporter | AgatheBertin | ||||||||||||||||||
| Assigned To | ranjith_qualiantech_com | ||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
| Status | closed | Resolution | invalid | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||
| Merge Request Status | open | ||||||||||||||||||
| Review Assigned To | marvintm | ||||||||||||||||||
| OBNetwork customer | Gold | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| Regression level | |||||||||||||||||||
| Regression date | |||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||
| Summary | 0046055: API Discounts - issues found | ||||||||||||||||||
| Description | We found some things not working well with the discount API : 1 - The new promotions “Price Adjustment by Product” and “Fixed overall percentage” seems to not working fine : I think the new subtabs are not taken into account correctly 2 - The filter "Organization" is not working fine also. When I use a ticket on an organization different from the one included in the promotion, the discount is still applied 3 - We still have an issue with some promotions, you'll see, if in the postman collection you change the date and put one neared from today, the call fails. 4 - For the customers, we use the reference number in the business partner as the Norauto customer ID. As the search key is automatically generated by OB when we create a BP, it is actually no relevant for identify a customer for Norauto so we have here 2 solutions : => The better for me should be to be able to use the reference number in the API if it's not possible, we'll have to change the customer integration in Norauto. 5 - For sure, we have the performance issue | ||||||||||||||||||
| Steps To Reproduce | 1. Create a promotion "Price Adjustement by Product", Included Products = Only those defined and add a product to the subtab products. Expectation : the promotion is applied when calling the API Result : no promotion applied ==> to be checked for all new subtabs. 2. Create a promotion (not matter which type) with Included Organizations = Only Those defined and set 1 organization (A) Do a call with an organization A , the promotion should be applied Do a call with B, the promotion shouldn't be applied but is applied anyway 3. if you put a date in 2021 in the API call, it doesn't work we have to use a date in 2020 instade. 4. use a new field in the API call : referenceno | ||||||||||||||||||
| Proposed Solution | Postman collection up to date attached | ||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2021-03-11 16:11 | AgatheBertin | New Issue | |||||||||||||||||
| 2021-03-11 16:11 | AgatheBertin | Assigned To | => Retail | ||||||||||||||||
| 2021-03-11 16:11 | AgatheBertin | OBNetwork customer | => Gold | ||||||||||||||||
| 2021-03-11 16:11 | AgatheBertin | Triggers an Emergency Pack | => No | ||||||||||||||||
| 2021-03-11 17:25 | wicherr | Note Added: 0126632 | |||||||||||||||||
| 2021-03-15 08:57 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||
| 2021-03-16 11:04 | hgbot | Merge Request Status | => open | ||||||||||||||||
| 2021-03-16 11:04 | hgbot | Note Added: 0126722 | |||||||||||||||||
| 2021-03-16 11:04 | hgbot | Note Added: 0126723 | |||||||||||||||||
| 2021-03-16 12:05 | marvintm | Relationship added | related to 0046086 | ||||||||||||||||
| 2021-03-16 12:05 | marvintm | Relationship added | related to 0046087 | ||||||||||||||||
| 2021-03-16 12:06 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
| 2021-03-16 12:06 | marvintm | Note Added: 0126724 | |||||||||||||||||
| 2021-03-16 12:06 | marvintm | Status | new => closed | ||||||||||||||||
| 2021-03-16 12:06 | marvintm | Resolution | open => invalid | ||||||||||||||||
| 2021-03-16 12:08 | hgbot | Note Added: 0126725 | |||||||||||||||||
| 2021-03-16 12:08 | hgbot | Note Added: 0126726 | |||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||