Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045426
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2020-11-11 16:132020-11-18 08:14
ReporterngarciaView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityhighResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045426: Different default value in database and in Application Dictionary for EM_OBPOS_EDITABLE_PRICE

DescriptionDifferent default value in database and in Application Dictionary for EM_OBPOS_EDITABLE_PRICE

Database (src-db/database/model/modifiedTables/M_PRODUCT.xml):
      <column name="EM_OBPOS_EDITABLE_PRICE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
        <default><![CDATA[Y]]></default>
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
      </column>

Application (src-db/database/sourcedata/AD_COLUMN.xml):
<!--2B35A72B5E7F40E0A6D83F9273980F3A--> <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
Steps To ReproduceIf the product is created from the backoffice it will be created with Editable Price = 'N'

If the product is created with a different process it (such as integration from other applications) will be created with Editable Price = 'Y'
Proposed SolutionSet the same default value in both places: it should be set to "Y" to preserve previous behaviour
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0031361 closedebecerra Add a new flag at product level to determine if a product price is editable or not 

-  Notes
(0124434)
hgbot (developer)
2020-11-17 06:19

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/187 [^]
(0124439)
hgbot (developer)
2020-11-17 07:04

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/187 [^]
(0124440)
hgbot (developer)
2020-11-17 07:04

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b9fc104659ccb55bcd96cb4619fc22c06cbab638
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-17T06:04:51+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b9fc104659ccb55bcd96cb4619fc22c06cbab638 [^]

Fixed BUG-45426: Changed default value for editable price as Y

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0124461)
hgbot (developer)
2020-11-18 08:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 98754ada26645c18419ec7dc3abd9073da5aaade
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T09:14:40+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/98754ada26645c18419ec7dc3abd9073da5aaade [^]

Fixed BUG-45426: Fixes error on creating giftcard with expiration date
* Expiry date sent to BO is not in proper format
* isoDate must be set to ExpiryDatem which is set in applyValue function
* Due to indexeddb-based state changes, applyValue function is not called
* Instead values are set in formData using getValue
* Fixed by setting isoDate in formData by overriding getValue function.

---
M web/org.openbravo.retail.giftcards/js/components/GCNewEntitiesExpirationDate.js
---

- Issue History
Date Modified Username Field Change
2020-11-11 16:13 ngarcia New Issue
2020-11-11 16:13 ngarcia Assigned To => Retail
2020-11-11 16:13 ngarcia Resolution time => 1606863600
2020-11-11 16:13 ngarcia Triggers an Emergency Pack => No
2020-11-11 16:13 ngarcia Relationship added caused by 0031361
2020-11-11 16:14 ngarcia Issue Monitored: networkb
2020-11-16 06:34 marvintm Proposed Solution updated
2020-11-16 07:22 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-11-16 14:59 prakashmurugesan88 Status new => scheduled
2020-11-17 06:19 hgbot Note Added: 0124434
2020-11-17 07:04 hgbot Resolution open => fixed
2020-11-17 07:04 hgbot Status scheduled => closed
2020-11-17 07:04 hgbot Note Added: 0124439
2020-11-17 07:04 hgbot Fixed in Version => RR21Q1
2020-11-17 07:04 hgbot Note Added: 0124440
2020-11-18 08:14 hgbot Note Added: 0124461


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker