Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030718Retail ModulesWeb POSpublic2015-09-01 14:182015-10-28 16:12
adrianromero 
adrianromero 
normalmajoralways
closedfixed 
5
 
RR16Q1 
marvintm
No
0030718: Receipts loaded from the backend does not retrieve fields added to the order lines by other modules.
If a new module adds new fields to the order line table and this field is retrieved by the backend process. The Web POS function that loads closed receipt does not retrieve this function.
1.- Create a new module that depends on org.openbravo.retail.posterminal.
2.- Add a new column to the table C_ORDERLINE and add extend the model PaidReceipts.paidReceiptsLinesPropertyExtension to retrieve this new column in webpos
3.- Verify in line https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/d2058bf9a6fb/web/org.openbravo.retail.posterminal/js/model/order.js#l2455 [^] That the column value is retrieved but not added to the receipt model.
see attached file.
No tags attached.
diff issue30718.diff (2,180) 2015-10-08 14:22
https://issues.openbravo.com/file_download.php?file_id=8539&type=bug
Issue History
2015-09-01 14:18adrianromeroNew Issue
2015-09-01 14:18adrianromeroAssigned To => adrianromero
2015-09-01 14:18adrianromeroTriggers an Emergency Pack => No
2015-09-01 14:19adrianromeroFile Added: ISSUE30718.diff
2015-10-08 14:21adrianromeroFile Deleted: ISSUE30718.diff
2015-10-08 14:22adrianromeroFile Added: issue30718.diff
2015-10-08 14:30adrianromeroStatusnew => scheduled
2015-10-19 16:04hgbotCheckin
2015-10-19 16:04hgbotNote Added: 0081094
2015-10-19 16:04hgbotStatusscheduled => resolved
2015-10-19 16:04hgbotResolutionopen => fixed
2015-10-19 16:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/110b9217c40908d8bb302d95ddf8c9255a921103 [^]
2015-10-27 10:13adrianromeroReview Assigned To => marvintm
2015-10-28 16:12marvintmStatusresolved => closed
2015-10-28 16:12marvintmFixed in Version => RR16Q1

Notes
(0081094)
hgbot   
2015-10-19 16:04   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 110b9217c40908d8bb302d95ddf8c9255a921103
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Oct 08 14:14:45 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/110b9217c40908d8bb302d95ddf8c9255a921103 [^]

Fixes issue 0030718: Receipts loaded from the backend does not retrieve fields added to the order lines by other modules.
* Now all order lines properties are cloned with special management of own properties

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