Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056057Retail ModulesRetail APIpublic2024-07-18 08:432024-08-06 08:38
ignacio_deandres 
ignacio_deandres 
normalminorhave not tried
closedfixed 
5
 
main 
No
0056057: Reprintable Invoice Event and Reprintable API Endpoint
The need is to be able to provide the generated PDF to the external system. these pdf documents will be stored in our Client cloud for future use by the final customer.

The file used to map WS calls is this one: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/blob/master/config/org.openbravo.api-provider-config.xml?ref_type=heads. [^] This is, in that file is where you define when the url of that WS is org.openbravo.api.ExportService, then the org.openbravo.api.service.ApiExportWebService class will be invoked. In this project we want to be able to do this type of calls: /org.openbravo.api.ExportService/ReprintableReport/[invoice|order]/{id}, so it will be necessary to adapt the code to get the specific class when invoked.
.
.
No tags attached.
related to defect 0056211main closed ignacio_deandres Reprintable document web service test improvements 
Issue History
2024-07-18 08:43ignacio_deandresNew Issue
2024-07-18 08:43ignacio_deandresAssigned To => ignacio_deandres
2024-07-18 08:43ignacio_deandresTriggers an Emergency Pack => No
2024-07-18 08:51hgbotNote Added: 0167092
2024-07-18 08:53hgbotNote Added: 0167093
2024-08-01 08:51hgbotResolutionopen => fixed
2024-08-01 08:51hgbotStatusnew => closed
2024-08-01 08:51hgbotFixed in Version => PR24Q4
2024-08-01 08:51hgbotNote Added: 0167559
2024-08-01 08:51hgbotNote Added: 0167560
2024-08-01 08:56hgbotNote Added: 0167561
2024-08-01 08:56hgbotNote Added: 0167562
2024-08-01 09:38hgbotNote Added: 0167564
2024-08-01 09:39hgbotNote Added: 0167565
2024-08-01 09:59hgbotNote Added: 0167568
2024-08-01 09:59hgbotNote Added: 0167569
2024-08-01 11:37hgbotNote Added: 0167588
2024-08-01 11:37hgbotNote Added: 0167589
2024-08-01 11:37hgbotNote Added: 0167590
2024-08-01 11:37hgbotNote Added: 0167591
2024-08-05 15:44hgbotNote Added: 0167716
2024-08-05 15:45hgbotNote Added: 0167717
2024-08-06 08:38hgbotNote Added: 0167727
2024-08-06 08:38hgbotNote Added: 0167728
2024-08-08 10:23ignacio_deandresRelationship addedrelated to 0056211

Notes
(0167092)
hgbot   
2024-07-18 08:51   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1306 [^]
(0167093)
hgbot   
2024-07-18 08:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/306 [^]
(0167559)
hgbot   
2024-08-01 08:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: cf5fdb5c9000572843e9bc71ed0d89f0b33e184b
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 08:40:03
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/cf5fdb5c9000572843e9bc71ed0d89f0b33e184b [^]

FIXES ISSUE-56057: Created new Reprintable API Endpoint to download
invoices/orders attached documents providing a specific ID

---
A src-test/src/org/openbravo/base/provider/OBProviderTest.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentManager.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableSourceDocument.java
M src/org/openbravo/base/provider/OBProvider.java
M src/org/openbravo/service/web/BaseWebServiceServlet.java
---
(0167560)
hgbot   
2024-08-01 08:51   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1306 [^]
(0167561)
hgbot   
2024-08-01 08:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 236e66e7f48b6d1576aed38f87525700d4c43f52
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 08:54:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/236e66e7f48b6d1576aed38f87525700d4c43f52 [^]

FIXES ISSUE-56057: Created new Reprintable API Endpoint to download
invoices/orders attached documents providing a specific ID

---
---
(0167562)
hgbot   
2024-08-01 08:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/306 [^]
(0167564)
hgbot   
2024-08-01 09:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 1b065ba7b998e16112ce3a7815220a237f40619a
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 09:38:07
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/1b065ba7b998e16112ce3a7815220a237f40619a [^]

Revert "FIXES ISSUE-56057: Created new Reprintable API Endpoint to download"

This reverts commit cf5fdb5c9000572843e9bc71ed0d89f0b33e184b, reversing
changes made to 744e7aa7117f2afaed66e6020020fb13fa29c459.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentManager.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableSourceDocument.java
M src/org/openbravo/base/provider/OBProvider.java
M src/org/openbravo/service/web/BaseWebServiceServlet.java
R src-test/src/org/openbravo/base/provider/OBProviderTest.java
---
(0167565)
hgbot   
2024-08-01 09:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 02802af21fa8e853c9bab6a4a3c0be2ec002a029
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 09:39:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/02802af21fa8e853c9bab6a4a3c0be2ec002a029 [^]

Revert "FIXES ISSUE-56057: Created new Reprintable API Endpoint to download"

This reverts commit 236e66e7f48b6d1576aed38f87525700d4c43f52, reversing
changes made to 8270ea1f4fb8aff905896394c9fbe1d454d16744.

---
M api/org.openbravo.api-Status Service.yml
M config/org.openbravo.api-provider-config.xml
M examples/Openbravo API.postman_collection.json
M src-test/org/openbravo/api/WebserviceTestSuite.java
M src/org/openbravo/api/service/JSONResponseWriter.java
R api/org.openbravo.api-Reprintable Report.yml
R src-test/org/openbravo/api/service/ReprintableDocumentWebServiceTest.java
R src/org/openbravo/api/service/ReprintableDocumentWebService.java
---
(0167568)
hgbot   
2024-08-01 09:59   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1317 [^]
(0167569)
hgbot   
2024-08-01 09:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/314 [^]
(0167588)
hgbot   
2024-08-01 11:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: b83c148c539e0f04b542fb2914f28b9f3f131fb6
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 09:49:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/b83c148c539e0f04b542fb2914f28b9f3f131fb6 [^]

FIXES ISSUE-56057: Created new Reprintable API Endpoint to download
invoices/orders attached documents providing a specific ID

---
A api/org.openbravo.api-Reprintable Report.yml
A src-test/org/openbravo/api/service/ReprintableDocumentWebServiceTest.java
A src/org/openbravo/api/service/ReprintableDocumentWebService.java
M api/org.openbravo.api-Status Service.yml
M config/org.openbravo.api-provider-config.xml
M examples/Openbravo API.postman_collection.json
M src-test/org/openbravo/api/WebserviceTestSuite.java
M src/org/openbravo/api/service/JSONResponseWriter.java
---
(0167589)
hgbot   
2024-08-01 11:37   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/314 [^]
(0167590)
hgbot   
2024-08-01 11:37   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1317 [^]
(0167591)
hgbot   
2024-08-01 11:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 266fd20c913e29a29be8673465196bcc9a46ab08
Author: Ignacio De Andrés <i.deandres@orisha.com>
Date: 01-08-2024 11:36:07
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/266fd20c913e29a29be8673465196bcc9a46ab08 [^]

FIXES ISSUE-56057: Created new Reprintable API Endpoint to download
invoices/orders attached documents providing a specific ID

---
A src-test/src/org/openbravo/base/provider/OBProviderTest.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentManager.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableSourceDocument.java
M src/org/openbravo/base/provider/OBProvider.java
M src/org/openbravo/service/web/BaseWebServiceServlet.java
---
(0167716)
hgbot   
2024-08-05 15:44   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1321 [^]
(0167717)
hgbot   
2024-08-05 15:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/317 [^]
(0167727)
hgbot   
2024-08-06 08:38   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1321 [^]
(0167728)
hgbot   
2024-08-06 08:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/317 [^]