Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016852
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2011-04-19 15:202012-04-02 06:09
ReporterroklenardicView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionbd164e456436
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version3.0RC5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016852: Logo does not print on Draft invoices

DescriptionWhen a Sales Invoice is in draft status, printing it to a PDF does not render the logo regardless of the ShowLogo setting.

This happens because the C_Invoice table has two columns:
1) c_doctype_id
2_ c_doctypetarget_id

and the first one (c_doctype_id) is only filled in after completing an invoice and the RptC_Invoice.jrxml joins by the first one:

LEFT JOIN C_POC_DOCTYPE_TEMPLATE ON C_POC_DOCTYPE_TEMPLATE.C_DOCTYPE_ID = C_INVOICE.C_DOCTYPE_ID,
Proposed Solutionchange the join so that it joins by c_doctypetarget_id


LEFT JOIN C_POC_DOCTYPE_TEMPLATE ON C_POC_DOCTYPE_TEMPLATE.C_DOCTYPE_ID = C_INVOICE.C_DOCTYPETARGET_ID,
TagsOB3-Reviewed, VMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0019099 closedvmromanos Logo does not appear in JR when printing documents (i.e. invoices) in Draft status 
related to defect 0019967pi closeddmiguelez Logo does not print on Draft orders 

-  Notes
(0046048)
dmiguelez (developer)
2012-03-05 16:22

Test plan:

- Login as F&B International Group Admin.
- Create a new Sales Invoice with at least one Line.
- Print it without completing it. Notice that the Company Logo appears.
(0046292)
hgbot (developer)
2012-03-12 18:19

Repository: erp/devel/pi
Changeset: bd164e45643627071280182feae6bd232c8d0a03
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Mar 07 18:30:38 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bd164e45643627071280182feae6bd232c8d0a03 [^]

Fixes issue 16852: Changed join sentence in SQL query.

---
M src/org/openbravo/erpReports/RptC_Invoice.jrxml
---
(0046399)
vmromanos (manager)
2012-03-14 13:44

code review + testing OK
(0047101)
hudsonbot (developer)
2012-04-02 06:09

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/7814864461ac [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-04-19 15:20 roklenardic New Issue
2011-04-19 15:20 roklenardic Assigned To => adrianromero
2011-04-19 15:20 roklenardic Modules => Core
2011-06-03 10:58 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:16 dalsasua Assigned To dalsasua => jonalegriaesarte
2011-10-29 17:34 psarobe Tag Attached: OB3-Reviewed
2011-10-29 17:34 psarobe Status new => scheduled
2011-10-29 17:34 psarobe fix_in_branch => pi
2012-02-15 19:04 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 17:19 vmromanos Tag Attached: VMA-Reviewed
2012-03-05 11:31 dmiguelez Assigned To vmromanos => dmiguelez
2012-03-05 16:22 dmiguelez Note Added: 0046048
2012-03-06 17:33 dmiguelez Relationship added related to 0019967
2012-03-12 18:19 hgbot Checkin
2012-03-12 18:19 hgbot Note Added: 0046292
2012-03-12 18:19 hgbot Status scheduled => resolved
2012-03-12 18:19 hgbot Resolution open => fixed
2012-03-12 18:19 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bd164e45643627071280182feae6bd232c8d0a03 [^]
2012-03-14 13:44 vmromanos Note Added: 0046399
2012-03-14 13:44 vmromanos Status resolved => closed
2012-04-02 06:09 hudsonbot Checkin
2012-04-02 06:09 hudsonbot Note Added: 0047101
2012-04-10 17:14 vmromanos Relationship added has duplicate 0019099


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker