Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029771Openbravo ERPA. Platformpublic2015-05-05 09:392016-06-17 19:37
naiaramartinez 
naiaramartinez 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR16Q3 
alostale
Core
No
0029771: different attachment method infrastructure
Core changes needed in the attachment functionality to be able to extend them by modules. It creates a new entity Attachment Method so it is possible to define different attachment possibilities (Alfresco, Google Drive,...) developed by modules. It'll be possible to define different metadata for each attachment method.
* Create c_attachment_method table
* Create metadata using obuiapp_parameter
* Create c_file_metadata to save metadata values
* Create attachment configuration window using c_attachment_conf table
* Create a modulescript to initialize core 'description' metadata
* Upload/Edit attachment popup will show all the metadata defined for the attachment method
* c_file will have a column 'attachmentconfiguration' that contains the attachment configuration used in the attachment
No tags attached.
related to defect 0032690 closed gorkaion API Change class and methods removed 
related to defect 0039553 closed caristu Is not possible to define an specific attachment configuration if there is already one defined at system client 
causes defect 00327053.0PR16Q3 closed gorkaion attachment button in toolbar is not updated 
causes defect 0032811 closed alostale "Payment Method" filter is not set automatically in "Payment In" window || "Add Details" process but it must be set 
causes defect 0034439 closed alostale can't add attachment to Invoices after print and attach 
causes defect 0035187 closed caristu Cannot attach a document to an invoice if the role does not have access to ADTab entity and there is a module In Development 
causes defect 0035313 closed caristu invoice PDF is not attached from "email" button in sales invoice window 
causes defect 0036763 closed caristu Update information of attachments is not changed after replacing an already attached file 
Issue History
2015-05-05 09:39naiaramartinezNew Issue
2015-05-05 09:39naiaramartinezAssigned To => platform
2015-05-05 09:39naiaramartinezModules => Core
2015-05-05 09:39naiaramartinezTriggers an Emergency Pack => No
2015-05-05 16:49naiaramartinezAssigned Toplatform => naiaramartinez
2016-04-18 13:24hgbotCheckin
2016-04-18 13:24hgbotNote Added: 0085704
2016-04-18 13:24hgbotStatusnew => resolved
2016-04-18 13:24hgbotResolutionopen => fixed
2016-04-18 13:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/82f27ac1b1497b3a82646b140ab1b6e048f2b766 [^]
2016-04-18 16:09hgbotCheckin
2016-04-18 16:09hgbotNote Added: 0085711
2016-04-19 09:48gorkaionIssue Monitored: gorkaion
2016-04-19 10:32alostaleRelationship addedrelated to 0032690
2016-04-19 10:32alostaleRelationship addedcauses 0032705
2016-04-22 08:40alostaleReview Assigned To => alostale
2016-04-22 08:40alostaleNote Added: 0085869
2016-04-22 08:40alostaleStatusresolved => closed
2016-04-22 08:40alostaleFixed in Version => 3.0PR16Q3
2016-04-29 08:16alostaleRelationship addedcaused by 0032702
2016-04-29 08:16alostaleRelationship deletedcaused by 0032702
2016-04-29 08:16alostaleRelationship addedcauses 0032811
2016-06-17 19:37hudsonbotCheckin
2016-06-17 19:37hudsonbotNote Added: 0087461
2016-06-17 19:37hudsonbotCheckin
2016-06-17 19:37hudsonbotNote Added: 0087463
2016-11-09 15:53alostaleRelationship addedcauses 0034439
2017-02-08 13:16caristuRelationship addedcauses 0035187
2017-02-21 09:38caristuRelationship addedcauses 0035313
2017-09-01 13:03ngarciaRelationship addedrelated to 0036763
2017-09-01 14:46caristuRelationship deletedrelated to 0036763
2017-09-01 14:46caristuRelationship addedcauses 0036763
2018-10-26 14:15caristuRelationship addedrelated to 0039553

Notes
(0085704)
hgbot   
2016-04-18 13:24   
Repository: erp/devel/pi
Changeset: 82f27ac1b1497b3a82646b140ab1b6e048f2b766
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Apr 18 09:37:38 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/82f27ac1b1497b3a82646b140ab1b6e048f2b766 [^]

Fixed issue 29771. Merge of attachment enhancenment project

This projects enables the ability to define different attachment methods.
http://wiki.openbravo.com/wiki/Projects:Alfresco_Integration [^]

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_GC_SYSTEM.xml
M modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_GC_TAB.xml
M modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_PARAMETER.xml
M modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_PARAMETER_VALUE.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_CALLOUT.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_ELEMENT.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_REFERENCE.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_REF_TABLE.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TAB.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/OBCLKER_TEMPLATE.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/OBCLKER_TEMPLATE_DEPENDENCY.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/DynamicExpressionParser.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ParameterUtils.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/DefaultsProcessActionHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FICExtension.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewParameterHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ParameterWindowComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-attachments.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
M modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M modules/org.openbravo.client.widgets/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src-db/database/model/tables/C_FILE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src/org/openbravo/erpCommon/businessUtility/TabAttachments.java
M src/org/openbravo/erpCommon/utility/MigrateAttachments.java
M src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachImplementation.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachImplementationManager.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentAH.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentConfigEventHandler.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentMetadataEventHandler.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentUtils.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentWindowComponent.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/CoreAttachImplementation.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/DefaultsAttachmentActionHandler.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/MetadataOnTab.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-attachment-view.js.ftl
A modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-attachment-window-view.js
A modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-base-parameter-window-view.js
A src-db/database/model/tables/C_ATTACHMENT_CONF.xml
A src-db/database/model/tables/C_ATTACHMENT_METHOD.xml
A src-db/database/model/triggers/C_ATTACHMENT_METHOD_MOD_TRG.xml
A src-db/database/sourcedata/C_ATTACHMENT_METHOD.xml
R modules/org.openbravo.client.application/src/org/openbravo/client/application/window/AttachmentsAH.java
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_Edition.html
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_Edition.xml
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.html
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.xml
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_FS.html
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_FS.xml
R src/org/openbravo/erpCommon/businessUtility/TabAttachments_data.xsql
---
(0085711)
hgbot   
2016-04-18 16:09   
Repository: erp/devel/pi
Changeset: 1500fcc3bc0bd426a31f097bbb5dd38496d277bd
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Apr 18 16:08:20 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1500fcc3bc0bd426a31f097bbb5dd38496d277bd [^]

Related to issue 29771.Populate allowed_corrs_org_link column in new columns

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0085869)
alostale   
2016-04-22 08:40   
code reviewed and tested as part of project: http://wiki.openbravo.com/wiki/Projects:Alfresco_Integration [^]
(0087461)
hudsonbot   
2016-06-17 19:37   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^]
Maturity status: Test
(0087463)
hudsonbot   
2016-06-17 19:37   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^]
Maturity status: Test