Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0047729Openbravo LocalizationsLocalization Portugalpublic2021-09-21 11:312021-10-18 10:08
caristu 
caristu 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
0047729: Ability to disable signing at document type level
It 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.
.
Create 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).
No tags attached.
blocks backport 0047869 closed caristu Ability to disable signing at document type level 
Issue History
2021-09-21 11:31caristuNew Issue
2021-09-21 11:31caristuAssigned To => caristu
2021-09-21 11:31caristuIssue generated from0047721
2021-09-21 11:32caristuNote Added: 0131945
2021-09-23 11:53caristuIssue cloned0047749
2021-10-18 09:42hgbotResolutionopen => fixed
2021-10-18 09:42hgbotStatusnew => resolved
2021-10-18 09:42hgbotNote Added: 0132384
2021-10-18 09:42hgbotNote Added: 0132385
2021-10-18 09:44hgbotNote Added: 0132388
2021-10-18 09:44hgbotNote Added: 0132389
2021-10-18 10:05caristuStatusresolved => closed
2021-10-18 10:08caristuIssue cloned0047869
2021-10-18 10:08caristuRelationship addedblocks 0047869

Notes
(0131945)
caristu   
2021-09-21 11:32   
MRs:

- https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/12 [^]
- https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/11 [^]
(0132384)
hgbot   
2021-10-18 09:42   
Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: 7a407c96f13ae953c2f48b044a46096a2ff7681e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-13T15:54:10+00:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/7a407c96f13ae953c2f48b044a46096a2ff7681e [^]

Fixes ISSUE-47729: 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
---
(0132385)
hgbot   
2021-10-18 09:42   
Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: d69dd7bfa91f9bdde502292d86d1e32cbe1cf8f9
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-15T14:30:06+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/d69dd7bfa91f9bdde502292d86d1e32cbe1cf8f9 [^]

Related to ISSUE-47729: Add test cases

---
A src-test/com/practicsbs/saftpt/StandaloneTestSuite.java
A src-test/com/practicsbs/saftpt/data/ExportSourceDocsTest.java
---
(0132388)
hgbot   
2021-10-18 09:44   
Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: d4ffde4b43967b4dfb63691b74db52306cfe9043
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T09:43:45+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/d4ffde4b43967b4dfb63691b74db52306cfe9043 [^]

Related to ISSUE-47729: 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
---
(0132389)
hgbot   
2021-10-18 09:44   
Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 14beb18a0f41d8c12900f521273752fbdb88c70d
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-18T09:43:52+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/14beb18a0f41d8c12900f521273752fbdb88c70d [^]

Related to ISSUE-47729: Add test cases

---
A src-test/com/practicsbs/saftpt/retail/StandaloneTestSuite.java
A src-test/com/practicsbs/saftpt/retail/hook/SaftrOrderLoaderHookTest.java
---