Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Fixed: Restore accounting entries invoice/payment PDF export (OFBIZ-12150) - #2041

Open
mohammad-k8 wants to merge 2 commits into
apache:trunkfrom
mohammad-k8:ofbiz-12150-accounting-transactions-pdf-fix
Open

mohammad-k8 wants to merge 2 commits into
apache:trunkfrom
mohammad-k8:ofbiz-12150-accounting-transactions-pdf-fix

Conversation

@mohammad-k8

Copy link
Copy Markdown
Contributor

Fixed:
(OFBIZ-12150)

The Accounting Transactions Entries By Account screen retained an export link for a BIRT report after the BIRT component and its controller mappings were removed. As a result, the link opened a new window but could not resolve a view or render a PDF.

Restore the report with OFBiz's native screenfop renderer. Add the missing request and view mappings, reuse the accounting-entry search filters, and render the invoice, payment, account, party, currency, debit, and credit details without requiring BIRT.

mohammad-k8 and others added 2 commits September 17, 2026 18:39
…2150)

The Accounting Transactions Entries By Account screen retained an export link for a BIRT report after the BIRT component and its controller mappings were removed. As a result, the link opened a new window but could not resolve a view or render a PDF.

Restore the report with OFBiz's native screenfop renderer. Add the missing request and view mappings, reuse the accounting-entry search filters, and render the invoice, payment, account, party, currency, debit, and credit details without requiring BIRT.
@mridulpathak

Copy link
Copy Markdown
Contributor

Hi @mohammad-k8,

I tested it locally on trunk with demo data. Please address:

Fixes

  • Exchange-rate column header renders as the raw key "FormFieldTitle_exchangeRate"; use the existing AccountingExchangeRate label.
  • Exchange-rate column prints both amounts (e.g. "33.99/33.99 USD/USD") instead of a rate; compute origAmount / amount, and leave the cell blank when origCurrencyUomId equals currencyUomId.
  • Add a debit and credit totals row, as in the original BIRT report.
  • Update the description: BIRT wasn't removed, it lives in the birt plugin (disabled by default since OFBIZ-12824).

Nice to have

  • Group rows by GL account class, as the original did.
  • Show party names instead of party IDs.
  • Widen the columns: they total ~316mm of ~406mm usable, leaving the right quarter of the page blank.

Comment on lines +2438 to +2442
<request-map uri="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf.pdf">
<security auth="true" https="true"/>
<response name="success" type="view" value="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf"/>
</request-map>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mohammad-k8 you can write it on one line when the request-map haven't event

Suggested change
<request-map uri="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf.pdf">
<security auth="true" https="true"/>
<response name="success" type="view" value="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf"/>
</request-map>
<request-map uri="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf.pdf"><security/><response name="success" type="view" value="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf"/></request-map>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants