Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
bc21be95
Commit
bc21be95
authored
Apr 28, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: erp5_crm: Migrate Acknowledgement and Ticket Documents from filesystem.
parent
7471d7af
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
391 additions
and
67 deletions
+391
-67
bt5/erp5_credential/DocumentTemplateItem/portal_components/document.erp5.CredentialRecovery.py
...tem/portal_components/document.erp5.CredentialRecovery.py
+1
-1
bt5/erp5_credential/DocumentTemplateItem/portal_components/document.erp5.CredentialRequest.py
...Item/portal_components/document.erp5.CredentialRequest.py
+1
-1
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Acknowledgement.py
...teItem/portal_components/document.erp5.Acknowledgement.py
+0
-0
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Acknowledgement.xml
...eItem/portal_components/document.erp5.Acknowledgement.xml
+104
-0
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.SaleOpportunity.py
...teItem/portal_components/document.erp5.SaleOpportunity.py
+22
-23
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.SaleOpportunity.xml
...eItem/portal_components/document.erp5.SaleOpportunity.xml
+110
-0
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Ticket.py
...entTemplateItem/portal_components/document.erp5.Ticket.py
+39
-40
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Ticket.xml
...ntTemplateItem/portal_components/document.erp5.Ticket.xml
+110
-0
bt5/erp5_crm/bt/template_document_id_list
bt5/erp5_crm/bt/template_document_id_list
+3
-0
bt5/erp5_forge/DocumentTemplateItem/portal_components/document.erp5.Bug.py
...cumentTemplateItem/portal_components/document.erp5.Bug.py
+1
-1
product/ERP5/Tool/AcknowledgementTool.py
product/ERP5/Tool/AcknowledgementTool.py
+0
-1
No files found.
bt5/erp5_credential/DocumentTemplateItem/portal_components/document.erp5.CredentialRecovery.py
View file @
bc21be95
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.Ticket
import
Ticket
from
erp5.component.d
ocument.Ticket
import
Ticket
from
erp5.component.mixin.EncryptedPasswordMixin
import
EncryptedPasswordMixin
from
erp5.component.mixin.EncryptedPasswordMixin
import
EncryptedPasswordMixin
...
...
bt5/erp5_credential/DocumentTemplateItem/portal_components/document.erp5.CredentialRequest.py
View file @
bc21be95
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.Ticket
import
Ticket
from
erp5.component.d
ocument.Ticket
import
Ticket
from
erp5.component.mixin.EncryptedPasswordMixin
import
EncryptedPasswordMixin
from
erp5.component.mixin.EncryptedPasswordMixin
import
EncryptedPasswordMixin
...
...
product/ERP5/Document/
Acknowledgement.py
→
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.
Acknowledgement.py
View file @
bc21be95
File moved
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Acknowledgement.xml
0 → 100644
View file @
bc21be95
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
Acknowledgement
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.Acknowledgement
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.Acknowledgement
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
SaleOpportunity.py
→
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.
SaleOpportunity.py
View file @
bc21be95
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.Ticket
import
Ticket
from
erp5.component.d
ocument.Ticket
import
Ticket
class
SaleOpportunity
(
Ticket
):
class
SaleOpportunity
(
Ticket
):
"""
"""
...
@@ -38,7 +38,6 @@ class SaleOpportunity(Ticket):
...
@@ -38,7 +38,6 @@ class SaleOpportunity(Ticket):
This class is superceded by the Ticket class. Legacy
This class is superceded by the Ticket class. Legacy
sale opportunity data should still be usable.
sale opportunity data should still be usable.
"""
"""
meta_type
=
'ERP5 Sale Opportunity'
meta_type
=
'ERP5 Sale Opportunity'
portal_type
=
'Sale Opportunity'
portal_type
=
'Sale Opportunity'
add_permission
=
Permissions
.
AddPortalContent
add_permission
=
Permissions
.
AddPortalContent
...
...
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.SaleOpportunity.xml
0 → 100644
View file @
bc21be95
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
SaleOpportunity
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.SaleOpportunity
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.SaleOpportunity
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
Ticket.py
→
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.
Ticket.py
View file @
bc21be95
...
@@ -53,7 +53,6 @@ class Ticket(Project):
...
@@ -53,7 +53,6 @@ class Ticket(Project):
may be useful to provide a simple way to synchronise
may be useful to provide a simple way to synchronise
data with relations.
data with relations.
"""
"""
meta_type
=
'ERP5 Ticket'
meta_type
=
'ERP5 Ticket'
portal_type
=
'Ticket'
portal_type
=
'Ticket'
add_permission
=
Permissions
.
AddPortalContent
add_permission
=
Permissions
.
AddPortalContent
...
...
bt5/erp5_crm/DocumentTemplateItem/portal_components/document.erp5.Ticket.xml
0 → 100644
View file @
bc21be95
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
Ticket
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.Ticket
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.Ticket
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm/bt/template_document_id_list
0 → 100644
View file @
bc21be95
document.erp5.Acknowledgement
document.erp5.SaleOpportunity
document.erp5.Ticket
\ No newline at end of file
bt5/erp5_forge/DocumentTemplateItem/portal_components/document.erp5.Bug.py
View file @
bc21be95
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.Ticket
import
Ticket
from
erp5.component.d
ocument.Ticket
import
Ticket
class
Bug
(
Ticket
):
class
Bug
(
Ticket
):
"""Bug means a bug report, a feature request or an issue.
"""Bug means a bug report, a feature request or an issue.
...
...
product/ERP5/Tool/AcknowledgementTool.py
View file @
bc21be95
...
@@ -31,7 +31,6 @@ from Products.ERP5Type.Globals import InitializeClass, DTMLFile
...
@@ -31,7 +31,6 @@ from Products.ERP5Type.Globals import InitializeClass, DTMLFile
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5
import
_dtmldir
from
Products.ERP5
import
_dtmldir
from
Products.ERP5.Document.Acknowledgement
import
Acknowledgement
from
zLOG
import
LOG
from
zLOG
import
LOG
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
NegatedQuery
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
NegatedQuery
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment