Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040980Retail ModulesWeb POSpublic2019-05-30 16:342019-06-28 13:12
nicolasuriz 
nicola_uva 
lowmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040980: "User Defined Line Amount" discount type in backend is forcing by the trigger to fill the Line Final Gross to save it.
"User Defined Line Amount" discount type in backend is forcing by the trigger to fill the Line Final Gross to save it. We do not want this because it is not the supposed behaviour that we use in BUT. We need to decide the final price by the user in WebPOS.
1. Create a discount with "User Defined Line Amount" type.
2. Fill name | Starting date | Discount category |Check "Approval required"
3. Try to save the record
4. It is mandatory to fill the "Line Final Gross" to save it.
See diff attached
No tags attached.
related to feature request 0040441RR19Q3 closed nicola_uva Discounts Category Enhancement - New discount type: Set line price 
related to defect 0040981 closed nicola_uva We cannot decide the final price in WebPOS by using a "User Defined Line Amount" discount type. 
diff 40980.diff (2,726) 2019-05-30 16:43
https://issues.openbravo.com/file_download.php?file_id=12998&type=bug
Issue History
2019-05-30 16:34nicolasurizNew Issue
2019-05-30 16:34nicolasurizAssigned To => Triage Finance
2019-05-30 16:34nicolasurizModules => Core
2019-05-30 16:34nicolasurizResolution time => 1557093600
2019-05-30 16:34nicolasurizTriggers an Emergency Pack => No
2019-05-30 16:42guillermogilProposed Solution updated
2019-05-30 16:43guillermogilFile Added: 40980.diff
2019-05-30 16:43guillermogilResolution time1557093600 => 1559772000
2019-05-30 16:43guillermogilAssigned ToTriage Finance => Retail
2019-05-30 16:44guillermogilResolution time1559772000 => 1560981600
2019-05-30 16:47guillermogilProjectOpenbravo ERP => Retail Modules
2019-05-30 16:48guillermogilCategory07. Sales management => Web POS
2019-05-30 16:56nicolasurizRelationship addedrelated to 0040981
2019-05-30 17:25guillermogilRelationship addedrelated to 0040441
2019-05-30 17:26guillermogilPriorityhigh => low
2019-05-31 13:39guillermogilAssigned ToRetail => nicola_uva
2019-06-06 13:07nicola_uvaNote Added: 0112472
2019-06-06 13:09nicola_uvaResolutionopen => fixed
2019-06-06 13:10nicola_uvaResolutionfixed => open
2019-06-07 10:11nicola_uvaNote Edited: 0112472bug_revision_view_page.php?bugnote_id=0112472#r18893
2019-06-07 10:14nicola_uvaNote Edited: 0112472bug_revision_view_page.php?bugnote_id=0112472#r18894
2019-06-07 11:16nicola_uvaFixed in SCM revision => 12a2819226e6
2019-06-07 11:17nicola_uvaFixed in SCM revision12a2819226e6 =>
2019-06-28 13:00marvintmStatusnew => scheduled
2019-06-28 13:00marvintmStatusscheduled => resolved
2019-06-28 13:00marvintmFixed in Version => RR19Q3
2019-06-28 13:00marvintmResolutionopen => fixed
2019-06-28 13:12marvintmReview Assigned To => marvintm
2019-06-28 13:12marvintmStatusresolved => closed

Notes
(0112472)
nicola_uva   
2019-06-06 13:07   
(edited on: 2019-06-07 10:14)
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 12a2819226e6
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Tue Jun 04 17:06:04 2019 +0200
URL: https://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/12a2819226e6 [^] [^]

fixed 40980

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/model/triggers/OBDISC_OFFER_TRG.xml
---