Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051923Retail ModulesRetail APIpublic2023-03-20 15:442023-03-31 15:05
nicola_uva 
alainperez 
normalminorhave not tried
closedfixed 
5
 
pi 
aaroncalero
No
0051923: Product API - Not possible to deactivate Alternative UOM
Using Product API is not possible deactivate AUOM from the product.
You can reproduce it using standard retail Product API, just adding below properties

 "alternativeUnitOfMeasure": [
      {
        "uom": "string",
        "conversionRate": 0,
        "gtin": "string",
        "sales": "string",
        "purchase": "string",
        "logistics": "string"
      }
    ]

Here the swagger definition: https://livebuilds.openbravo.com/retail_modules_pgsql_pi/api#/Product/Import_Product [^]
Add the active field to the API
No tags attached.
Issue History
2023-03-20 15:44nicola_uvaNew Issue
2023-03-20 15:44nicola_uvaAssigned To => Retail
2023-03-20 15:44nicola_uvaTriggers an Emergency Pack => No
2023-03-21 13:51marvintmTypefeature request => defect
2023-03-29 07:06guillermogilProposed Solution updated
2023-03-29 09:12guillermogilAssigned ToRetail => alainperez
2023-03-30 02:41alainperezStatusnew => scheduled
2023-03-30 05:38hgbotNote Added: 0148094
2023-03-31 14:57hgbotResolutionopen => fixed
2023-03-31 14:57hgbotStatusscheduled => resolved
2023-03-31 14:57hgbotNote Added: 0148161
2023-03-31 14:57hgbotNote Added: 0148162
2023-03-31 15:05aaroncaleroReview Assigned To => aaroncalero
2023-03-31 15:05aaroncaleroStatusresolved => closed

Notes
(0148094)
hgbot   
2023-03-30 05:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/136 [^]
(0148161)
hgbot   
2023-03-31 14:57   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 0de5c5d70079ee55def816e129850c47b4886d2d
Author: Alain PĂ©rez Balart <alain.perez@doceleguas.com>
Date: 31-03-2023 12:57:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/0de5c5d70079ee55def816e129850c47b4886d2d [^]

Fixed ISSUE-51923: Not possible to deactivate Alternative UOM using Import Product API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0148162)
hgbot   
2023-03-31 14:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/136 [^]