Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0019967 | Openbravo ERP | 07. Sales management | public | 2012-03-06 17:32 | 2012-04-02 06:09 |
|
| Reporter | dmiguelez | |
| Assigned To | dmiguelez | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 20 | OS Version | Community Appliance |
| Product Version | | |
| Target Version | pi | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0019967: Logo does not print on Draft orders |
| Description | When a Sales Order is in draft status, printing it to a PDF does not render the logo regardless of the ShowLogo setting.
This happens because the C_Order 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 order 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_ORDER.C_DOCTYPE_ID, |
| Steps To Reproduce | - Login as Openbravo/openbravo
- Create a new Sales Order and try print it before competing it.
- Notice that the image is not shown. |
| Proposed Solution | change 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_ORDER.C_DOCTYPETARGET_ID, |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0016852 | | closed | dmiguelez | Logo does not print on Draft invoices |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2012-03-06 17:32 | dmiguelez | New Issue | |
| 2012-03-06 17:32 | dmiguelez | Assigned To | => dmiguelez |
| 2012-03-06 17:32 | dmiguelez | Modules | => Core |
| 2012-03-06 17:32 | dmiguelez | OBNetwork customer | => No |
| 2012-03-06 17:33 | dmiguelez | Status | new => scheduled |
| 2012-03-06 17:33 | dmiguelez | fix_in_branch | => pi |
| 2012-03-06 17:33 | dmiguelez | Relationship added | related to 0016852 |
| 2012-03-07 18:17 | dmiguelez | Note Added: 0046149 | |
| 2012-03-12 18:19 | hgbot | Checkin | |
| 2012-03-12 18:19 | hgbot | Note Added: 0046291 | |
| 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/a8628d0d3e0040bc6c9b26d98339c9d055cc11e1 [^] |
| 2012-03-14 13:44 | vmromanos | Note Added: 0046400 | |
| 2012-03-14 13:44 | vmromanos | Status | resolved => closed |
| 2012-04-02 06:09 | hudsonbot | Checkin | |
| 2012-04-02 06:09 | hudsonbot | Note Added: 0047100 | |