Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019783Openbravo ERP03. Procurement managementpublic2012-02-15 18:052012-06-28 13:23
maite 
jecharri 
immediatemajoralways
closedfixed 
5
 
3.0MP9 
Core
No
0019783: When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice
When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice
1. Log in as "System Administrator" and "Display" button "Generate Receipt from Invoice" in Purchase Invoice Header window
2. Run ant compile.complete smartbuild to have it working
3. Log in as Openbravo Admin and create Purchase Invoice for any bp and any date
4. Add invoice line and process invoice
5. Run ""Generate Receipt from Invoice" process
6. Go to Invoice line and, from Linked Items section, navigate to Matched Invoice and realize that 2 records are associated to each line
No tags attached.
related to defect 00139122.50MP20 closed harikrishnan The process 'Create Lines from' of the Goods Shipment window shows incorrect data 
depends on backport 00198622.50MP40 closed jecharri When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice 
Issue History
2012-02-15 18:05maiteNew Issue
2012-02-15 18:05maiteAssigned To => jonalegriaesarte
2012-02-15 18:05maiteModules => Core
2012-02-15 18:06maiteTarget Version => 3.0MP9
2012-02-15 18:06maiteIssue Monitored: networkb
2012-02-16 12:19eduardo_ArgalStatusnew => scheduled
2012-02-16 12:19eduardo_Argalfix_in_branch => pi
2012-02-20 17:54jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-02-21 17:15hgbotCheckin
2012-02-21 17:15hgbotNote Added: 0045320
2012-02-21 17:15hgbotCheckin
2012-02-21 17:15hgbotNote Added: 0045322
2012-02-21 17:15hgbotStatusscheduled => resolved
2012-02-21 17:15hgbotResolutionopen => fixed
2012-02-21 17:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/33175c6c534f1874b078f7f290e4f4364ca15362 [^]
2012-02-24 09:14jecharriStatusresolved => new
2012-02-24 09:14jecharriResolutionfixed => open
2012-02-24 09:14jecharriRelationship addedrelated to 0013912
2012-02-24 09:14jecharriStatusnew => scheduled
2012-02-24 09:15jecharriStatusscheduled => resolved
2012-02-24 09:15jecharriResolutionopen => fixed
2012-02-24 09:15jecharriStatusresolved => new
2012-02-24 09:15jecharriResolutionfixed => open
2012-02-24 09:15jecharriStatusnew => scheduled
2012-02-24 09:15jecharriStatusscheduled => resolved
2012-02-24 09:16jecharriResolutionopen => fixed
2012-02-28 12:27hgbotCheckin
2012-02-28 12:27hgbotNote Added: 0045526
2012-02-29 14:02maiteNote Added: 0045614
2012-02-29 14:02maiteStatusresolved => closed
2012-03-02 15:38hudsonbotCheckin
2012-03-02 15:38hudsonbotNote Added: 0045912
2012-03-02 15:38hudsonbotCheckin
2012-03-02 15:38hudsonbotNote Added: 0045913
2012-03-02 15:39hudsonbotCheckin
2012-03-02 15:39hudsonbotNote Added: 0045969
2012-06-27 20:23hgbotCheckin
2012-06-27 20:23hgbotNote Added: 0050205
2012-06-27 20:23hgbotCheckin
2012-06-27 20:23hgbotNote Added: 0050207
2012-06-27 20:23hgbotStatusclosed => resolved
2012-06-27 20:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/33175c6c534f1874b078f7f290e4f4364ca15362 [^] => http://code.openbravo.com/erp/devel/pi/rev/b76249577bb8801a74d3c39073add669978f66dd [^]
2012-06-27 20:24hgbotCheckin
2012-06-27 20:24hgbotNote Added: 0050208
2012-06-27 20:25hgbotCheckin
2012-06-27 20:25hgbotNote Added: 0050210
2012-06-27 20:25hgbotCheckin
2012-06-27 20:25hgbotNote Added: 0050212
2012-06-27 20:25hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b76249577bb8801a74d3c39073add669978f66dd [^] => http://code.openbravo.com/erp/devel/pi/rev/2d6bf11fbb96b655cc0a5f4615138fe069538adc [^]
2012-06-27 20:25hgbotCheckin
2012-06-27 20:25hgbotNote Added: 0050213
2012-06-28 08:01hudsonbotCheckin
2012-06-28 08:01hudsonbotNote Added: 0050231
2012-06-28 08:01hudsonbotCheckin
2012-06-28 08:01hudsonbotNote Added: 0050232
2012-06-28 08:02hudsonbotCheckin
2012-06-28 08:02hudsonbotNote Added: 0050234
2012-06-28 08:02hudsonbotCheckin
2012-06-28 08:02hudsonbotNote Added: 0050236
2012-06-28 08:02hudsonbotCheckin
2012-06-28 08:02hudsonbotNote Added: 0050237
2012-06-28 08:02hudsonbotCheckin
2012-06-28 08:02hudsonbotNote Added: 0050239
2012-06-28 13:23jecharriStatusresolved => closed

Notes
(0045320)
hgbot   
2012-02-21 17:15   
Repository: erp/devel/pi
Changeset: ada3076fc7dd363a77c8904bfcc1608d7cc40e8d
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:08:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ada3076fc7dd363a77c8904bfcc1608d7cc40e8d [^]

issue 13912,issue 19783: The process 'Create Lines from'
of the Goods Shipment window shows incorrect data

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0045322)
hgbot   
2012-02-21 17:15   
Repository: erp/devel/pi
Changeset: 33175c6c534f1874b078f7f290e4f4364ca15362
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:14:13 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/33175c6c534f1874b078f7f290e4f4364ca15362 [^]

Fixes issue 19783: When running "Generate Receipt from Invoice" process,
associated matched invoice entry is created twice.
The problem was that to solve the issue 13912 it was created some code duplicated and it did not work properly. Now this code has been deleted and changed the combo query for proper behaviour

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0045526)
hgbot   
2012-02-28 12:27   
Repository: erp/devel/pi
Changeset: 4e0bf9b7c68e8c7dec15d20f7befd28af728e9b7
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 28 12:26:47 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4e0bf9b7c68e8c7dec15d20f7befd28af728e9b7 [^]

issue 19783:
Added the module script to delete the duplicated lines in m_matchinv table. Also, the lines with related m_inout or c_invoiceline that are sales

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoiceData.class
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.java
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice_data.xsql
---
(0045614)
maite   
2012-02-29 14:02   
closed
(0045912)
hudsonbot   
2012-03-02 15:38   
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/544d64e0c159 [^]

Maturity status: Test
(0045913)
hudsonbot   
2012-03-02 15:38   
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/544d64e0c159 [^]

Maturity status: Test
(0045969)
hudsonbot   
2012-03-02 15:39   
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/544d64e0c159 [^]

Maturity status: Test
(0050205)
hgbot   
2012-06-27 20:23   
Repository: erp/devel/pi
Changeset: 462253717b32abf3829512e2aae52703bb4f0b59
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:08:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/462253717b32abf3829512e2aae52703bb4f0b59 [^]

issue 13912,issue 19783: The process 'Create Lines from'
of the Goods Shipment window shows incorrect data

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0050207)
hgbot   
2012-06-27 20:23   
Repository: erp/devel/pi
Changeset: b76249577bb8801a74d3c39073add669978f66dd
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:14:13 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b76249577bb8801a74d3c39073add669978f66dd [^]

Fixes issue 19783: When running "Generate Receipt from Invoice" process,
associated matched invoice entry is created twice.
The problem was that to solve the issue 13912 it was created some code duplicated and it did not work properly. Now this code has been deleted and changed the combo query for proper behaviour

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0050208)
hgbot   
2012-06-27 20:24   
Repository: erp/devel/pi
Changeset: ad6027148ba272729a69ee5d854a5f31e0d1ea7b
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 28 12:26:47 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ad6027148ba272729a69ee5d854a5f31e0d1ea7b [^]

issue 19783:
Added the module script to delete the duplicated lines in m_matchinv table. Also, the lines with related m_inout or c_invoiceline that are sales

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoiceData.class
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.java
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice_data.xsql
---
(0050210)
hgbot   
2012-06-27 20:25   
Repository: erp/devel/pi
Changeset: fe80bdb44fce453bfed9bce64306a8c0b2a42bdd
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:08:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fe80bdb44fce453bfed9bce64306a8c0b2a42bdd [^]

issue 13912,issue 19783: The process 'Create Lines from'
of the Goods Shipment window shows incorrect data

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0050212)
hgbot   
2012-06-27 20:25   
Repository: erp/devel/pi
Changeset: 2d6bf11fbb96b655cc0a5f4615138fe069538adc
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 21 17:14:13 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2d6bf11fbb96b655cc0a5f4615138fe069538adc [^]

Fixes issue 19783: When running "Generate Receipt from Invoice" process,
associated matched invoice entry is created twice.
The problem was that to solve the issue 13912 it was created some code duplicated and it did not work properly. Now this code has been deleted and changed the combo query for proper behaviour

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0050213)
hgbot   
2012-06-27 20:25   
Repository: erp/devel/pi
Changeset: 84cd64e7cc92cf1dc5a689f416b8c1ac0c7efa8e
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 28 12:26:47 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/84cd64e7cc92cf1dc5a689f416b8c1ac0c7efa8e [^]

issue 19783:
Added the module script to delete the duplicated lines in m_matchinv table. Also, the lines with related m_inout or c_invoiceline that are sales

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoiceData.class
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.java
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice_data.xsql
---
(0050231)
hudsonbot   
2012-06-28 08:01   
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/c66e853c5cf4 [^]

Maturity status: Test
(0050232)
hudsonbot   
2012-06-28 08:01   
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/c66e853c5cf4 [^]

Maturity status: Test
(0050234)
hudsonbot   
2012-06-28 08:02   
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/c66e853c5cf4 [^]

Maturity status: Test
(0050236)
hudsonbot   
2012-06-28 08:02   
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/c66e853c5cf4 [^]

Maturity status: Test
(0050237)
hudsonbot   
2012-06-28 08:02   
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/c66e853c5cf4 [^]

Maturity status: Test
(0050239)
hudsonbot   
2012-06-28 08:02   
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/c66e853c5cf4 [^]

Maturity status: Test