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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051375
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalmajoralways2023-01-16 12:092023-01-18 18:13
ReportermalsasuaView Statuspublic 
Assigned Tojetxarri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0051375: ATCUD property is not populated in the Order object loaded using Open Receipt

DescriptionATCUD property is not populated in the Order object loaded using Open Receipt

The ATCUD code should be added as property in paidReceiptsPropertyExtension
Steps To Reproducein POS:
- complete a ticket-> atcud code is printed in the ticket
- click in Open Receipt: load the previous receipt
- click in Print Receipt option
atcud code is not printed in the reprint
Proposed Solution...

@Qualifier(PaidReceipts.paidReceiptsPropertyExtension)
public class PaidReceiptProperties extends ModelExtension {

  @Override
  public List<HQLProperty> getHQLProperties(Object params) {
    return (new ArrayList<HQLProperty>() {
      private static final long serialVersionUID = 1L;
      {

        add(new HQLProperty(
            "coalesce((select inv.sAFTATCUDDocumentNo from Invoice inv where inv.salesOrder.id = ord.id), null)",
            "saftAtcudDocNo"));
      }
    });
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 0051392 closedjetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3 
related to backport 0051393 closedjetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3 

-  Notes
(0145499)
hgbot (developer)
2023-01-17 15:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/95 [^]
(0145591)
hgbot (developer)
2023-01-18 18:13

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 902234b8ca1d143cfe31315b55849bcb44ded6f9
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 18-01-2023 17:12:26
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/902234b8ca1d143cfe31315b55849bcb44ded6f9 [^]

Fixes ISSUE-51375: ATCUD property is not populated in the Order object loaded using Open Receipt

---
M src/com/practicsbs/saftpt/retail/master/PaidReceiptProperties.java
---
(0145592)
hgbot (developer)
2023-01-18 18:13

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/95 [^]

- Issue History
Date Modified Username Field Change
2023-01-16 12:09 malsasua New Issue
2023-01-16 12:09 malsasua Assigned To => psanjuan
2023-01-16 12:49 jetxarri Assigned To psanjuan => jetxarri
2023-01-17 14:57 jetxarri Issue cloned 0051392
2023-01-17 14:57 jetxarri Relationship added related to 0051392
2023-01-17 14:57 jetxarri Issue cloned 0051393
2023-01-17 14:57 jetxarri Relationship added related to 0051393
2023-01-17 15:00 hgbot Note Added: 0145499
2023-01-18 18:13 hgbot Resolution open => fixed
2023-01-18 18:13 hgbot Status new => closed
2023-01-18 18:13 hgbot Note Added: 0145591
2023-01-18 18:13 hgbot Note Added: 0145592


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker