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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046292
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalmajoralways2021-04-19 09:532021-10-08 12:19
ReporterpsanjuanView Statuspublic 
Assigned Topsanjuan 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0046292: SAFT code - Duplicate document Hash is not correct

DescriptionSAFT code - Duplicate document Hash is not correct
Steps To ReproduceSee document https://docs.google.com/spreadsheets/d/1OZ8NS5qywirdMBbFJXWqiEOstCiJWXAlKBUxfztJ3xg/edit#gid=562732981 [^]

test caes:

PTSAFT415] Duplicated Documents usability (Full Invoice)

[PTSAFT415] Duplicated Documents usability (Full Invoice)
Proposed Solution"SignInvoiceUtility.java", is the java class that implements this function by generating the corresponding HashControl for a duplicate document (created in the backoffice).

In the line 245, this class looks if the field "Is Customer Invoice" of the Sales order is check or not.
if check - the invoice will be a full invoice - Hash Control = FTD (in our example, as the key doc (prefix) of this document is FT)
if not - the invoice will be a simplified invoice - Has Control = FSD (in our example as the key doc (prefix) of this document is FS)

Line 239 needs to be replaced by this one:

simpInvoice = !(Boolean) order.get("obposisCustomerInvoice");
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0131287)
psanjuan (manager)
2021-08-24 10:28

https://practicsbs.zendesk.com/hc/es/requests/10872 [^]
(0132271)
aferraz (developer)
2021-10-08 12:19

Fixed by Practics and transplanted: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/46a1e1e0e467c197e3fd1c300ed8e8c0de450411 [^]

- Issue History
Date Modified Username Field Change
2021-04-19 09:53 psanjuan New Issue
2021-04-19 09:53 psanjuan Assigned To => psanjuan
2021-08-24 10:28 psanjuan Note Added: 0131287
2021-10-08 12:18 aferraz Status new => scheduled
2021-10-08 12:19 aferraz Note Added: 0132271
2021-10-08 12:19 aferraz Status scheduled => resolved
2021-10-08 12:19 aferraz Resolution open => fixed
2021-10-08 12:19 aferraz Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker