Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028722Retail ModulesWeb POSpublic2015-01-22 10:062015-02-04 20:34
caristu 
aaroncalero 
immediatecriticalalways
closedfixed 
5
 
 
migueldejuana
Production - Confirmed Stable
RR14Q3
https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^]
No
0028722: Not possible to create invoiced receipts for customers created in WebPOS
Not possible to create invoiced receipts for customers created in WebPOS. The following error exception raised in this line[1] of the FIN_PaymentProcess class:

org.openbravo.base.exception.OBException: Please initialize <a class="LabelLink" onclick="OB.Utilities.openDirectTab ....

with this stack trace

at org.openbravo.retail.posterminal.OrderLoader.processPayments(OrderLoader.java:1589)
    at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:1396)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:306)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:117)
....


[1] https://code.openbravo.com/erp/devel/pi/file/dad8f2ef7d46/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java#l392 [^]
1) Create a new customer in WebPOS
2) Assign this new customer to the receipt
3) Invoice the receipt
4) Pay the receipt
5) Go to the [Errors While Importing POS Data] and notice that the receipt has not been synchronized
No tags attached.
has duplicate defect 0028990 closed Sandrahuguet Openbravo ERP NullPointer Exception in FIN_PaymentProcess.java 
Issue History
2015-01-22 10:06caristuNew Issue
2015-01-22 10:06caristuAssigned To => marvintm
2015-01-22 10:06caristuResolution time => 1422140400
2015-01-22 10:06caristuRegression level => Production - Confirmed Stable
2015-01-22 10:06caristuTriggers an Emergency Pack => No
2015-01-22 10:06caristuIssue Monitored: networkb
2015-01-22 10:07caristuDescription Updatedbug_revision_view_page.php?rev_id=7509#r7509
2015-01-22 10:17caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^]
2015-01-22 10:17caristuRegression introduced in release => RR14Q3
2015-01-22 10:29caristuSeveritymajor => critical
2015-01-23 13:06hgbotCheckin
2015-01-23 13:06hgbotNote Added: 0073752
2015-01-23 13:06hgbotStatusnew => resolved
2015-01-23 13:06hgbotResolutionopen => fixed
2015-01-23 13:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/825bc261f63cacd55860fea0f4ff495426980064 [^]
2015-01-26 09:40hgbotCheckin
2015-01-26 09:40hgbotNote Added: 0073763
2015-01-26 09:41aaroncaleroAssigned Tomarvintm => aaroncalero
2015-01-29 10:00migueldejuanaReview Assigned To => migueldejuana
2015-01-29 10:00migueldejuanaNote Added: 0073881
2015-01-29 10:00migueldejuanaStatusresolved => closed
2015-02-04 20:34hudsonbotCheckin
2015-02-04 20:34hudsonbotNote Added: 0074177
2015-02-19 11:01jecharriRelationship addedhas duplicate 0028990

Notes
(0073752)
hgbot   
2015-01-23 13:06   
Repository: erp/devel/pi
Changeset: 825bc261f63cacd55860fea0f4ff495426980064
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Fri Jan 23 12:21:36 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/825bc261f63cacd55860fea0f4ff495426980064 [^]

Fixed issue 28722: Not possible to create invoiced receipts for customers created in WebPOS

Modified the event handler used to set the BP currency to work not only on update events, but on save events too.
Now when BPs are saved from the POS, the currency is automatically assigned to these business partners and they can be used to generate invoices.

---
M src/org/openbravo/event/BusinessPartnerEventHandler.java
---
(0073763)
hgbot   
2015-01-26 09:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0c108dbf2f00968c30c92727b5a8acc6041257bf
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Jan 26 09:26:24 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c108dbf2f00968c30c92727b5a8acc6041257bf [^]

Related to issue 28722: Added modulescript to fix customers created from the POS

---
A build/classes/org/openbravo/retail/posterminal/modulescript/FixDataIssue28722.class
A build/classes/org/openbravo/retail/posterminal/modulescript/FixDataIssue28722Data.class
A src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/FixDataIssue28722.java
A src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/FixDataIssue28722_Data.xsql
---
(0073881)
migueldejuana   
2015-01-29 10:00   
Tested and reviewed in b71f486b4915
(0074177)
hudsonbot   
2015-02-04 20:34   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^]
Maturity status: Test