Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012695Openbravo ERPZ. Otherspublic2010-03-16 11:552010-12-09 15:59
mirurita 
mirurita 
normalmajoralways
closedfixed 
20Community Appliance
2.50 
2.502.50 
Advanced Payables and Receivables Mngmt
No
0012695: FIN_GEN_PAYMENTSCHEDULE_INV extension point not working properly
When completing an invoice some cases don't work:
- Invoice without an associated order. (in PostgreSQL due to a bad location of NOT FOUND statement)
- Several payments in the invoice.
==A==
Prerequisites: PostgreSQL
1) Create a sales invoice
2) Create some lines
3) Complete the invoice

==B==
1) Create an order with 2 lines
2) Create an invoice for the previous order.
 2.1) Use a payment term with at lease two payments.
3) Complete the invoice.
No tags attached.
Issue History
2010-03-16 11:55miruritaNew Issue
2010-03-16 11:55miruritaAssigned To => mirurita
2010-03-16 12:03miruritaStatusnew => scheduled
2010-03-16 12:03miruritafix_in_branch => pi
2010-03-16 12:04miruritaNote Added: 0025536
2010-03-16 12:04miruritaStatusscheduled => resolved
2010-03-16 12:04miruritaResolutionopen => fixed
2010-03-31 18:11hgbotCheckin
2010-03-31 18:11hgbotNote Added: 0025843
2010-03-31 18:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eb225575e541af22fc88b39e2bf5cc13089af77e [^]
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026404
2010-04-28 11:48sureshbabuNote Added: 0026753
2010-04-28 11:48sureshbabuStatusresolved => closed
2010-04-28 11:48sureshbabuFixed in Version => 2.50
2010-12-09 15:59anonymoussf_bug_id0 => 3133054

Notes
(0025536)
mirurita   
2010-03-16 12:04   
Fixed on pi-engdev revision 6753:eb225575e541

https://code.openbravo.com/erp/devel/pi-engdev/rev/eb225575e541 [^]
(0025843)
hgbot   
2010-03-31 18:11   
Repository: erp/devel/pi
Changeset: eb225575e541af22fc88b39e2bf5cc13089af77e
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Mar 16 12:05:13 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/eb225575e541af22fc88b39e2bf5cc13089af77e [^]

Fixes issue 0012695: FIN_GEN_PAYMENTSCHEDULE_INV extension point not working properly

---
M src-db/database/model/functions/FIN_GEN_PAYMENTSCHEDULE_INV.xml
---
(0026404)
hudsonbot   
2010-04-19 21:11   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/eb225575e541 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0026753)
sureshbabu   
2010-04-28 11:48   
Tested working fine