Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056371 | Openbravo ERP | Z. Others | public | 2024-09-05 08:24 | 2024-09-05 13:41 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR24Q4 | |
Merge Request Status | approved |
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 | 0056371: Backoffice print button does not work if there is no email definition |
Description | In backoffice trying to (re)print the document whose type has not an email definition, you get a message saying org.openbravo.erpCommon.utility.reporting.ReportingException: No email definitions found for template with id: 498DAE87AC4A4BCA818B929C568B0445 |
Steps To Reproduce | 1. Make sure you DON’T have an email configuration setup for the invoice document type
2. In POS, do sales with invoices
3. Go to SALES INVOICE window in BACKOFFICE and look for the invoice created
4. Click on the icon to (RE)PRINT of backoffice
You will get error message org.openbravo.erpCommon.utility.reporting.ReportingException: No email definitions found for template with id: 498DAE87AC4A4BCA818B929C568B0445* |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-09-05 08:24 | alostale | New Issue | |
2024-09-05 08:24 | alostale | Assigned To | => Triage Omni OMS |
2024-09-05 08:24 | alostale | OBNetwork customer | => No |
2024-09-05 08:24 | alostale | Modules | => Core |
2024-09-05 08:24 | alostale | Triggers an Emergency Pack | => No |
2024-09-05 08:29 | alostale | Assigned To | Triage Omni OMS => alostale |
2024-09-05 09:48 | hgbot | Merge Request Status | => open |
2024-09-05 09:48 | hgbot | Note Added: 0168764 | |
2024-09-05 10:03 | hgbot | Note Added: 0168765 | |
2024-09-05 10:14 | alostale | Note Added: 0168766 | |
2024-09-05 10:18 | hgbot | Note Added: 0168768 | |
2024-09-05 10:18 | hgbot | Merge Request Status | open => merged |
2024-09-05 10:18 | hgbot | Note Added: 0168769 | |
2024-09-05 11:55 | hgbot | Merge Request Status | merged => approved |
2024-09-05 13:41 | hgbot | Note Added: 0168813 | |
2024-09-05 13:41 | hgbot | Resolution | open => fixed |
2024-09-05 13:41 | hgbot | Status | new => closed |
2024-09-05 13:41 | hgbot | Fixed in Version | => PR24Q4 |
2024-09-05 13:41 | hgbot | Note Added: 0168814 | |
Notes |
|
(0168764)
|
hgbot
|
2024-09-05 09:48
|
|
|
|
(0168765)
|
hgbot
|
2024-09-05 10:03
|
|
|
|
|
Tested:
In all cases with and without email definition for the document being printed/emailed:
1. Reprintable reports inactive
1.1. Print
1.2. Send email: when there is an email definition, it is taken, if not empty fields appear for the user to complete
2. Reprintable reports active
2.1. Print
2.2. Reprint
2.3. Send email for first time, so the doc is generated
2.4. Send email having a document already created (reprint). In both 2.3 and 2.4 email templates behave as in 1.2 |
|
|
(0168768)
|
hgbot
|
2024-09-05 10:18
|
|
|
|
(0168769)
|
hgbot
|
2024-09-05 10:18
|
|
|
|
(0168813)
|
hgbot
|
2024-09-05 13:41
|
|
|
|
(0168814)
|
hgbot
|
2024-09-05 13:41
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8df44808554ff6053adc7af33d6e4a73a94a032f
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 05-09-2024 09:53:50
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8df44808554ff6053adc7af33d6e4a73a94a032f [^]
fixes BUG-56371: print button does not work if there is no email definition
Whenever a document was going to be printed it was assumed there should be at
least one email definition, which is not necessary for printing.
Now email definitions are never mandatory:
* When just printing without emailing, they are not used at all.
* When also emailing, in case of not being defined, an empty template is used.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/utility/reporting/TemplateInfo.java
---
|
|