Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050752Retail ModulesWeb POSpublic2022-11-07 11:382022-12-19 07:29
charlotte_vasseur 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
No
0050752: [OPECOM] The pricelist version doesn't change according to the price list chosen in the header
When creating a commercial operation, the pricelist version doesn't change according to the price list chosen in the header.

We shouldn’t be able to save a record that has a pricelist version not linked to the initial pricelist.
In Openbravo backoffice, go to 'Commercial Operation' window
Create a record
Choose a price list
Choose a price list version
Change the price list
=> The price list version is not updated and the saving of the commercial operation is allowed
See OPECOM Price List Version not updated after changing Price List.png and video in joined file
No tags attached.
png OPECOM Price List Version not updated after changing Price List.png (152,839) 2022-11-07 11:38
https://issues.openbravo.com/file_download.php?file_id=17757&type=bug
png

? 2022-11-07 11-30-11.mkv (3,088,903) 2022-11-07 11:38
https://issues.openbravo.com/file_download.php?file_id=17758&type=bug
Issue History
2022-11-07 11:38charlotte_vasseurNew Issue
2022-11-07 11:38charlotte_vasseurAssigned To => Retail
2022-11-07 11:38charlotte_vasseurFile Added: OPECOM Price List Version not updated after changing Price List.png
2022-11-07 11:38charlotte_vasseurTriggers an Emergency Pack => No
2022-11-07 11:38charlotte_vasseurFile Added: 2022-11-07 11-30-11.mkv
2022-11-30 10:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-11-30 11:03ranjith_qualiantech_comStatusnew => scheduled
2022-11-30 12:53hgbotNote Added: 0144247
2022-12-19 07:29hgbotNote Added: 0144797
2022-12-19 07:29hgbotResolutionopen => fixed
2022-12-19 07:29hgbotStatusscheduled => closed
2022-12-19 07:29hgbotNote Added: 0144798

Notes
(0144247)
hgbot   
2022-11-30 12:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/30 [^]
(0144797)
hgbot   
2022-12-19 07:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/30 [^]
(0144798)
hgbot   
2022-12-19 07:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: 50ce8df097f769f751c799ed7b4fc56eb38cf15e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 19-12-2022 06:29:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/50ce8df097f769f751c799ed7b4fc56eb38cf15e [^]

Fixed ISSUE-50752: Pricelistversion should be empty when changing PriceList
* When adding commercial operations, Pricelistversion should be changed to empty
  when changing the pricelist

---
M src-db/database/sourcedata/AD_FIELD.xml
M web/org.openbravo.commercialoperations/js/ob-obcomop.js
---