Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047938Retail ModulesRetail APIpublic2021-10-26 15:372021-12-09 08:48
hbrasme 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
No
0047938: POST Assortment - Unable to desactivate a product from an assortment
Unable to desactivate a product from an assortment with the POST API Assortment.
When we take the properties 'active' from 'product' to false, it doesn't work, we have no result
Create an POST CALL like as follow :

[
  {
    "client": "Mobivia",
    "organization": "*",
    "name": "testHBRAssortment",
    "description": "TEST HBR ASSORTMENT",
    "active": true,
    "products": [
        {"product":"21181948","bestseller":true,"active":false}
    ]
  }
]

Verify in the Assortment Module, the property 'active' from the prodcut stay always to Yes
No tags attached.
png Json-Call.png (21,869) 2021-10-26 15:37
https://issues.openbravo.com/file_download.php?file_id=16304&type=bug
png

png AssortmentProduct-Result.png (34,545) 2021-10-26 15:37
https://issues.openbravo.com/file_download.php?file_id=16305&type=bug
png
Issue History
2021-10-26 15:37hbrasmeNew Issue
2021-10-26 15:37hbrasmeAssigned To => Retail
2021-10-26 15:37hbrasmeFile Added: Json-Call.png
2021-10-26 15:37hbrasmeTriggers an Emergency Pack => No
2021-10-26 15:37hbrasmeFile Added: AssortmentProduct-Result.png
2021-11-24 06:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-11-25 02:05hgbotNote Added: 0133335
2021-12-01 06:44ranjith_qualiantech_comStatusnew => scheduled
2021-12-09 08:48hgbotResolutionopen => fixed
2021-12-09 08:48hgbotStatusscheduled => closed
2021-12-09 08:48hgbotNote Added: 0133534
2021-12-09 08:48hgbotNote Added: 0133535

Notes
(0133335)
hgbot   
2021-11-25 02:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/23 [^]
(0133534)
hgbot   
2021-12-09 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 60eab2d98964da19a2afa9fd241db8331481c755
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-12-09T07:47:40+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/60eab2d98964da19a2afa9fd241db8331481c755 [^]

Fixed ISSUE-47938: Added active property to Assortment Product Import Service

---
M api/org.openbravo.retail.api-Masterdata.json
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0133535)
hgbot   
2021-12-09 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/23 [^]