Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056045 | Retail Modules | Retail API | public | 2024-07-01 13:38 | 2024-07-19 08:05 |
|
Reporter | AgatheBertin | |
Assigned To | sreehari | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR24Q2.2 | Fixed in Version | | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0056045: API ProductListsForLabels - Organization |
Description | API ProductListsForLabels
When importing, we have to set an organization (Organization of the product list for labels)
But, we can only integrate the object using the NAME of the organization
We should be able to use the searchKey of the organization |
Steps To Reproduce | Use the SearchKey of the organiztion and you get the error "Error while importing an item: No entry found in Organization with name = 0000001203"
[{"client":"CCC","organization":"0000001203","name":"Test ABE1234","searchKey":"Test ABE1234","active":true,"printDate":"2024-02-07","products":[{"product":"477715"},{"product":"581301"},{"product":"182496"},{"product":"477720"},{"product":"549207"},{"product":"581297"}]}] |
Proposed Solution | Allow to import with the search Key of the organization.
JWE:
Import will check first SearchKey and if not then organization name (to keep retrocompatbility)
Export will be done just by searchKey |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0055878 | | closed | sreehari | API ProductListsForLabels - Organization |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-07-17 10:55 | guillermogil | Type | defect => backport |
2024-07-17 10:55 | guillermogil | Target Version | => RR24Q2.2 |
2024-07-19 06:59 | hgbot | Note Added: 0167145 | |
2024-07-19 08:05 | hgbot | Merge Request Status | open => approved |
2024-07-19 08:05 | hgbot | Resolution | open => fixed |
2024-07-19 08:05 | hgbot | Status | scheduled => closed |
2024-07-19 08:05 | hgbot | Note Added: 0167153 | |
2024-07-19 08:05 | hgbot | Note Added: 0167154 | |