Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011996Openbravo ERP09. Financial managementpublic2010-01-18 16:122010-12-21 21:59
networkb 
adrianromero 
urgentminoralways
closedfixed 
5
2.50MP9 
2.50MP14 
Core
No
0011996: The jasper report linked to MM Shipment/Receipt is not printed
In Financial Management > Accounting > Transactions > Document type > Report Template, a record is created to print a jasper report in case of Good Receipts/Good Shipments (MM Shipment, MM Receipt with confirmation).

However, when a Good Shipment is printed, jasper report is not used. It shows the old one (.fo report)
Go to Financial Management > Accounting > Transactions > Document type. Search MM Shipment.
Go to Financial Management > Accounting > Transactions > Document type > Report Template and create a new one.
Enter a name.
As Template location: @basedesign@/org/openbravo/erpReports
Template filename: RptC_Invoice.jrxml
Report Filename: Sales Invoice-@our_ref@
Go to Sales Management > Transactions > Good Shipment.
Search for a MM shipment.
Print it.
No tags attached.
related to defect 00133562.50MP18 closed adrianromero Error when updating from 2.50mp14 to 2.50mp17. 
related to feature request 0037875 closed shuehner Delete report RptM_Inout (based on old fop, not used) 
Issue History
2010-01-18 16:12networkbNew Issue
2010-01-18 16:12networkbAssigned To => rafaroda
2010-01-19 09:27networkbAssigned Torafaroda => iciordia
2010-01-19 09:40alostaleAssigned Toiciordia => alostale
2010-01-19 09:40alostalePriorityimmediate => urgent
2010-01-19 09:40alostaleStatusnew => scheduled
2010-02-12 12:26alostaleAssigned Toalostale => iperdomo
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-09 13:35iperdomoNote Added: 0025179
2010-03-09 13:35iperdomoStatusscheduled => feedback
2010-03-11 11:57eduardo_ArgalAssigned Toiperdomo => adrianromero
2010-03-12 09:43networkbStatusfeedback => new
2010-03-12 11:27adrianromeroStatusnew => scheduled
2010-03-12 11:27adrianromerofix_in_branch => pi
2010-04-15 12:10hgbotCheckin
2010-04-15 12:10hgbotNote Added: 0026246
2010-04-15 12:10hgbotStatusscheduled => resolved
2010-04-15 12:10hgbotResolutionopen => fixed
2010-04-15 12:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3b74d6c50ad1370cb02acd30057d8a1db567987a [^]
2010-04-19 21:13hudsonbotCheckin
2010-04-19 21:13hudsonbotNote Added: 0026486
2010-04-20 07:42hgbotCheckin
2010-04-20 07:42hgbotNote Added: 0026502
2010-04-20 07:42hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3b74d6c50ad1370cb02acd30057d8a1db567987a [^] => http://code.openbravo.com/erp/devel/pi/rev/098eeb5c3218e26ad793ef0166117853c6a949e1 [^]
2010-04-20 10:30harikrishnanNote Added: 0026507
2010-04-20 10:31harikrishnanNote Added: 0026508
2010-04-21 10:43hudsonbotCheckin
2010-04-21 10:43hudsonbotNote Added: 0026527
2010-04-28 08:26sureshbabuNote Added: 0026737
2010-04-28 08:26sureshbabuStatusresolved => closed
2010-04-29 00:00anonymoussf_bug_id0 => 2993866
2010-05-18 12:25adrianromeroRelationship addedrelated to 0013356
2010-12-21 21:59camcalNote Added: 0033357
2018-02-11 11:05shuehnerRelationship addedrelated to 0037875

Notes
(0025179)
iperdomo   
2010-03-09 13:35   
The process associated with the tab is the one that renders the FOP based report. You need to change the process associated with the tab to "Print orders process".
(0026246)
hgbot   
2010-04-15 12:10   
Repository: erp/devel/pi
Changeset: 3b74d6c50ad1370cb02acd30057d8a1db567987a
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Thu Apr 15 15:53:03 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/3b74d6c50ad1370cb02acd30057d8a1db567987a [^]

Fixes issue 11996: The jasper report linked to MM Shipment/Receipt is not printed

---
M referencedata/sampledata/SmallBazaar.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
A src/org/openbravo/erpReports/RptM_InOut.jrxml
A src/org/openbravo/erpReports/Rptm_InOut_Lines.jrxml
---
(0026486)
hudsonbot   
2010-04-19 21:13   
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/3b74d6c50ad1 [^]
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 [^]
(0026502)
hgbot   
2010-04-20 07:42   
Repository: erp/devel/pi
Changeset: 098eeb5c3218e26ad793ef0166117853c6a949e1
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Apr 20 11:21:28 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/098eeb5c3218e26ad793ef0166117853c6a949e1 [^]

Fixes issue 11996: The jasper report linked to MM Shipment/Receipt is not printed

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/CreateDoctypeTemplate.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/CreateDoctypeTemplateData.class
A src-util/modulescript/src/org/openbravo/modulescript/CreateDoctypeTemplate.java
A src-util/modulescript/src/org/openbravo/modulescript/CreateDoctypeTemplate_Data.xsql
---
(0026507)
harikrishnan   
2010-04-20 10:30   
Repository: erp/devel/pi
Changeset: e765cd806d02
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Apr 20 11:31:17 2010 +0530
URL: https://code.openbravo.com/erp/devel/pi/rev/e765cd806d02 [^]

Fixes issue 11996: The jasper report linked to MM Shipment/Receipt is not printed

---
src-util/modulescript/src/org/openbravo/modulescript/CreateDoctypeTemplate.java
src-util/modulescript/src/org/openbravo/modulescript/CreateDoctypeTemplate_Data.xsql
---
(0026508)
harikrishnan   
2010-04-20 10:31   
Repository: erp/devel/pi
Changeset: 4940c63db907
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Apr 20 13:39:41 2010 +0530
URL: https://code.openbravo.com/erp/devel/pi/rev/4940c63db907 [^]

Fixes issue 11996: The jasper report linked to MM Shipment/Receipt is not printed

---
src-util/modulescript/src/org/openbravo/modulescript/CreateDoctypeTemplate.java
---
(0026527)
hudsonbot   
2010-04-21 10:43   
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/098eeb5c3218 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/6aaf8711c872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17101.obx [^]
(0026737)
sureshbabu   
2010-04-28 08:26   
Tested working fine
(0033357)
camcal   
2010-12-21 21:59   
Hi.

I'm running OB 2.50 MP8 and i wonder how can include this fix without updating the core ?

I tried creating the files described at the changeset and then compiled using "ant compile.complete.deploy" but it didn't work, it's supposed to create the Document Templates for all existent documents with BaseType MMS or MMR, but it didn't.

I also want to know how does this fix solve the issue.

Thanks.