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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047869
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo Localizations] Localization Portugalminoralways2021-10-18 10:082021-10-18 10:42
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed 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

0047869: Ability to disable signing at document type level

DescriptionIt would be nice to have the ability of configuring whether a document should be signed (hashed) or not, and for example avoid signing documents which eventually won't be exported with SAF-T.
Steps To Reproduce.
Proposed SolutionCreate a new checkbox field "Is Signed" at document type level to determine if documents of that type should be signed or not.

In order to ensure backwards compatibility with the current document definition, the "Is Signed" field should be set as true by default (documents are signed by default).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0047729 closedcaristu Ability to disable signing at document type level 

-  Notes
(0132392)
hgbot (developer)
2021-10-18 10:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/23 [^]
(0132394)
hgbot (developer)
2021-10-18 10:19

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/24 [^]
(0132396)
hgbot (developer)
2021-10-18 10:41

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: 46c8a680dfc29dea61cbd8bd586bb7dbcf7dd3b5
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T10:11:43+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/46c8a680dfc29dea61cbd8bd586bb7dbcf7dd3b5 [^]

Fixes ISSUE-47869: Ability to disable signing at document type level

  This feature can be used to identify if a document should be signed or
not, and for example avoid signing documents which eventually won't be
exported with SAF-T.

  This is possible thanks to a new checkbox field "Is Signed" at
document type level.

  In order to avoid breaking the signing of the existing documents which
should continue being signed, the "Is Signed" field is set as true by
default.

 Besides, we're taking into account the new flag in the SAFT export
queries.

---
M src-db/database/model/modifiedTables/C_DOCTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/com/practicsbs/saftpt/ad_actionhandler/SaftGenerateHashes.java
M src/com/practicsbs/saftpt/data/BusinessPartner_data.xsql
M src/com/practicsbs/saftpt/data/Invoices_data.xsql
M src/com/practicsbs/saftpt/data/Payments_data.xsql
M src/com/practicsbs/saftpt/data/Product_data.xsql
M src/com/practicsbs/saftpt/data/TaxTable_data.xsql
M src/com/practicsbs/saftpt/data/WorkingDocuments_data.xsql
M src/com/practicsbs/saftpt/signature/SAFTSignInvoice.java
M src/com/practicsbs/saftpt/signature/SignInvoiceUtility.java
M src/com/practicsbs/saftpt/signature/SignOrderUtility.java
---
(0132397)
hgbot (developer)
2021-10-18 10:41

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: 0c9b490dd59d2a4ab6bd55990e8fd8b9e343273e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T10:12:01+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/0c9b490dd59d2a4ab6bd55990e8fd8b9e343273e [^]

Related to ISSUE-47869: Add test cases

---
A src-test/com/practicsbs/saftpt/StandaloneTestSuite.java
A src-test/com/practicsbs/saftpt/data/ExportSourceDocsTest.java
---
(0132398)
hgbot (developer)
2021-10-18 10:41

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/23 [^]
(0132399)
hgbot (developer)
2021-10-18 10:41

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 08a0b5b97b6bcaa4b5d8295e73585d55f7db89cd
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T10:16:41+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/08a0b5b97b6bcaa4b5d8295e73585d55f7db89cd [^]

Related to ISSUE-47869: Support for skipping order signing

---
M src/com/practicsbs/saftpt/retail/hook/SaftrOrderLoaderHook.java
M src/com/practicsbs/saftpt/retail/master/TerminalProperties.java
M web/com.practicsbs.saftpt.retail/js/hooks/presyncreceipt.js
---
(0132400)
hgbot (developer)
2021-10-18 10:41

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 74a70fb40cead5bf42c09c5374f6804748735978
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T10:16:55+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/74a70fb40cead5bf42c09c5374f6804748735978 [^]

Related to ISSUE-47869: Add test cases

---
A src-test/com/practicsbs/saftpt/retail/StandaloneTestSuite.java
A src-test/com/practicsbs/saftpt/retail/hook/SaftrOrderLoaderHookTest.java
---
(0132401)
hgbot (developer)
2021-10-18 10:42

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

- Issue History
Date Modified Username Field Change
2021-10-18 10:08 caristu New Issue
2021-10-18 10:08 caristu Assigned To => caristu
2021-10-18 10:08 caristu Issue generated from 0047729
2021-10-18 10:08 caristu Relationship added depends on 0047729
2021-10-18 10:14 hgbot Note Added: 0132392
2021-10-18 10:19 hgbot Note Added: 0132394
2021-10-18 10:41 hgbot Resolution open => fixed
2021-10-18 10:41 hgbot Status new => closed
2021-10-18 10:41 hgbot Note Added: 0132396
2021-10-18 10:41 hgbot Note Added: 0132397
2021-10-18 10:41 hgbot Note Added: 0132398
2021-10-18 10:41 hgbot Note Added: 0132399
2021-10-18 10:41 hgbot Note Added: 0132400
2021-10-18 10:42 hgbot Note Added: 0132401


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker