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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041370
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-07-16 17:102019-08-02 08:36
ReporterasiermartirenaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revisionb28693fe486d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041370: Problems with the 'Can/cannot be delivered' property

DescriptionThe button shown to set a value to the obposCanbedelivered property is not correctly shown/hidden.
In single selection, the button must be shown when prepayments are configured and if the line doesn't have any delivery.
In multi selection, in addition to the requirements commented before, all the lines must have exactly the same value in the property.

Also, when doing a 'Cancel and Replace', currently the property is being set to true for each line. The value must be set to true only for those lines that are already delivered. Any line without any delivery and that had the property set to false must maintain the value.
Steps To ReproduceLoad in the Web POS using the terminal OMNI-1.
Add two lines.
Select both lines and click on the 'Set as undeliverable' button.
Select the lines again --> The button must be shown with the 'Set as deliverable' value.

Synchronize the ticket setting one line to obposCanbedelivered = true and the other one as obposCanbedelivered = false and pay the prepayment.
Load the ticket again --> one line has been delivered
Do a Cancel and Replace of the ticket --> The line that was not delivered can be delivered now. It must maintain the set value.
Proposed SolutionPatch attached to the issue with the solution. The patch has been done for 19Q1, it must be adapted to PI.
TagsNo tags attached.
Attached Filesdiff file icon issue_41370.diff [^] (2,657 bytes) 2019-07-18 18:30 [Show Content]
patch file icon 41370_PI.patch [^] (2,872 bytes) 2019-07-22 05:13 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0113537)
aaroncalero (manager)
2019-07-18 18:30

Re-uploaded the patch because there was a small typo in a function.
(0113712)
hgbot (developer)
2019-07-30 14:41

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b28693fe486d71e1bd2ea35af6e998be34b46c0b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 30 18:11:43 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b28693fe486d71e1bd2ea35af6e998be34b46c0b [^]

Fixed issue 41370 : Problems with the 'Can/cannot be delivered' property

* Adapt the behavior Set/Unset Delivery button in single selection or multi
selection

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/editline.js
---

- Issue History
Date Modified Username Field Change
2019-07-16 17:10 asiermartirena New Issue
2019-07-16 17:10 asiermartirena Assigned To => Retail
2019-07-16 17:10 asiermartirena Resolution time => 1564437600
2019-07-16 17:10 asiermartirena Triggers an Emergency Pack => No
2019-07-16 17:11 asiermartirena File Added: issue_41370.diff
2019-07-18 04:51 rqueralta Assigned To Retail => rqueralta
2019-07-18 04:51 rqueralta Status new => scheduled
2019-07-18 18:29 aaroncalero File Deleted: issue_41370.diff
2019-07-18 18:30 aaroncalero File Added: issue_41370.diff
2019-07-18 18:30 aaroncalero Note Added: 0113537
2019-07-22 05:13 rqueralta File Added: 41370_PI.patch
2019-07-24 13:43 ranjith_qualiantech_com Assigned To rqueralta => ranjith_qualiantech_com
2019-07-30 14:41 hgbot Checkin
2019-07-30 14:41 hgbot Note Added: 0113712
2019-07-30 14:41 hgbot Status scheduled => resolved
2019-07-30 14:41 hgbot Resolution open => fixed
2019-07-30 14:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b28693fe486d71e1bd2ea35af6e998be34b46c0b [^]
2019-08-02 08:36 marvintm Review Assigned To => marvintm
2019-08-02 08:36 marvintm Status resolved => closed
2019-08-02 08:36 marvintm Fixed in Version => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker