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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047729
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo Localizations] Localization Portugalminoralways2021-09-21 11:312021-10-18 10:08
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

0047729: 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 ]
blocks backport 0047869 closedcaristu Ability to disable signing at document type level 

-  Notes
(0131945)
caristu (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2021-09-21 11:31 caristu New Issue
2021-09-21 11:31 caristu Assigned To => caristu
2021-09-21 11:31 caristu Issue generated from 0047721
2021-09-21 11:32 caristu Note Added: 0131945
2021-09-23 11:53 caristu Issue cloned 0047749
2021-10-18 09:42 hgbot Resolution open => fixed
2021-10-18 09:42 hgbot Status new => resolved
2021-10-18 09:42 hgbot Note Added: 0132384
2021-10-18 09:42 hgbot Note Added: 0132385
2021-10-18 09:44 hgbot Note Added: 0132388
2021-10-18 09:44 hgbot Note Added: 0132389
2021-10-18 10:05 caristu Status resolved => closed
2021-10-18 10:08 caristu Issue cloned 0047869
2021-10-18 10:08 caristu Relationship added blocks 0047869


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker