Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054950Retail ModulesRetail APIpublic2024-03-14 09:512024-04-16 13:43
AgatheBertin 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
 
No
0054950: API PriceList : missing information in the swagger
When creating/updating PriceList through API, there is a field in the ProductPrice table named : OVERRIDE which , when set to true, delete all the pricelistexception (expected).

But this field is not present in the swagger
Check the json here and see there is the override field
The field is not in the swagger and should be added (into in the examples)

"productPrices":
            [
                {
                    "product": "TESTSAU-API02",
                    "unitPrice": 70,
                    "listPrice": 75,
                    "priceLimit": 30,
                    "printPriceForTemplates": "UnitPrice",
                    "printPriceForWebPos": "ListPriceDiscountedAmount",
                    "printPriceForProductLabels": "ListPriceDiscountPercentage",
                    "active": "true",
                    "override": true
                }
            ]
add the field into the swagger and examples
No tags attached.
Issue History
2024-03-14 09:51AgatheBertinNew Issue
2024-03-14 09:51AgatheBertinAssigned To => Triage Platform Conn
2024-03-14 09:51AgatheBertinTriggers an Emergency Pack => No
2024-04-02 09:56adrianromeroAssigned ToTriage Platform Conn => Retail
2024-04-05 14:31aaroncaleroStatusnew => acknowledged
2024-04-06 07:21Rajesh_18Assigned ToRetail => Rajesh_18
2024-04-06 07:21Rajesh_18Statusacknowledged => scheduled
2024-04-08 06:26hgbotNote Added: 0162902
2024-04-16 13:43hgbotResolutionopen => fixed
2024-04-16 13:43hgbotStatusscheduled => closed
2024-04-16 13:43hgbotNote Added: 0163284
2024-04-16 13:43hgbotNote Added: 0163285

Notes
(0162902)
hgbot   
2024-04-08 06:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/merge_requests/7 [^]
(0163284)
hgbot   
2024-04-16 13:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api [^]
Changeset: 916a5fb6f9e748e14ec423465cfa2a2ef723636a
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 06-04-2024 15:47:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/commit/916a5fb6f9e748e14ec423465cfa2a2ef723636a [^]

Fixed ISSUE-54950: Added Property for import PriceList API

---
A src/org/openbravo/commercialoperations/api/mappings/ProductPrice/ImportPricingProductPriceJavaPropertyMappingHandler.java
---
(0163285)
hgbot   
2024-04-16 13:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/merge_requests/7 [^]