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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Papa Tamsir Kane
erp5
Commits
65e05fed
Commit
65e05fed
authored
Aug 30, 2017
by
Papa Tamsir Kane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_decision: Add Decision property sheet
parent
b6831ffe
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
100 additions
and
3 deletions
+100
-3
bt5/erp5_decision/PropertySheetTemplateItem/portal_property_sheets/Decision.xml
...ertySheetTemplateItem/portal_property_sheets/Decision.xml
+66
-0
bt5/erp5_decision/PropertySheetTemplateItem/portal_property_sheets/Decision/approval_property.xml
...tem/portal_property_sheets/Decision/approval_property.xml
+32
-0
bt5/erp5_decision/SkinTemplateItem/portal_skins/erp5_decision/Decision_afterGeneration.py
...em/portal_skins/erp5_decision/Decision_afterGeneration.py
+0
-2
bt5/erp5_decision/SkinTemplateItem/portal_skins/erp5_decision/Decision_getSourceDecisionDepartmentPersonList.py
...ecision/Decision_getSourceDecisionDepartmentPersonList.py
+1
-1
bt5/erp5_decision/bt/template_property_sheet_id_list
bt5/erp5_decision/bt/template_property_sheet_id_list
+1
-0
No files found.
bt5/erp5_decision/PropertySheetTemplateItem/portal_property_sheets/Decision.xml
0 → 100644
View file @
65e05fed
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Decision
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_decision/PropertySheetTemplateItem/portal_property_sheets/Decision/approval_property.xml
0 → 100644
View file @
65e05fed
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/boolean
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Approval result
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
approval_property
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_decision/SkinTemplateItem/portal_skins/erp5_decision/Decision_afterGeneration.py
View file @
65e05fed
...
@@ -7,8 +7,6 @@ class MyException(Exception):
...
@@ -7,8 +7,6 @@ class MyException(Exception):
raise MyException('ptk: got here!')
raise MyException('ptk: got here!')
'''
'''
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
isTransitionPossible
=
portal
.
portal_workflow
.
isTransitionPossible
isTransitionPossible
=
portal
.
portal_workflow
.
isTransitionPossible
decision
=
context
decision
=
context
...
...
bt5/erp5_decision/SkinTemplateItem/portal_skins/erp5_decision/Decision_getSourceDecisionDepartmentPersonList.py
View file @
65e05fed
bt5/erp5_decision/bt/template_property_sheet_id_list
0 → 100644
View file @
65e05fed
Decision
\ No newline at end of file
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