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
Léo-Paul Géneau
erp5
Commits
1eb75ece
Commit
1eb75ece
authored
Apr 30, 2013
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use agent rather than wrongly used specialise category.
Make sure erp5-hr can override erp5_base.
parent
ff4cb062
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
105 additions
and
12 deletions
+105
-12
bt5/erp5_hr/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+2
-2
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr.xml
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr.xml
+21
-0
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Assignment_view.xml
...SkinTemplateItem/portal_skins/erp5_hr/Assignment_view.xml
+1
-1
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Assignment_view/my_agent_title.xml
...m/portal_skins/erp5_hr/Assignment_view/my_agent_title.xml
+2
-2
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view.xml
..._hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view.xml
+1
-1
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view/my_agent_title.xml
...eItem/portal_skins/erp5_hr/Career_view/my_agent_title.xml
+2
-2
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Position_getCareerList.xml
...plateItem/portal_skins/erp5_hr/Position_getCareerList.xml
+1
-1
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Position_getPersonList.xml
...plateItem/portal_skins/erp5_hr/Position_getPersonList.xml
+72
-0
bt5/erp5_hr/bt/revision
bt5/erp5_hr/bt/revision
+1
-1
bt5/erp5_hr/bt/template_portal_type_base_category_list
bt5/erp5_hr/bt/template_portal_type_base_category_list
+2
-2
No files found.
bt5/erp5_hr/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
View file @
1eb75ece
<base_category_list>
<portal_type
id=
"Assignment"
>
<item>
specialise
</item>
<item>
agent
</item>
</portal_type>
<portal_type
id=
"Career"
>
<item>
specialise
</item>
<item>
agent
</item>
</portal_type>
<portal_type
id=
"Position"
>
<item>
agent
</item>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr.xml
View file @
1eb75ece
...
...
@@ -6,12 +6,33 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
10.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_hr
</string>
</value>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Assignment_view.xml
View file @
1eb75ece
...
...
@@ -73,7 +73,7 @@
<list>
<string>
my_title
</string>
<string>
my_destination_project_title
</string>
<string>
my_
specialise
_title
</string>
<string>
my_
agent
_title
</string>
<string>
my_start_date
</string>
<string>
my_stop_date
</string>
<string>
my_calendar_title_list
</string>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Assignment_view/my_
specialise
_title.xml
→
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Assignment_view/my_
agent
_title.xml
View file @
1eb75ece
...
...
@@ -19,7 +19,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
specialise
_title
</string>
</value>
<value>
<string>
my_
agent
_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -76,7 +76,7 @@
<dictionary>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string>
specialise
</string>
</value>
<value>
<string>
agent
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view.xml
View file @
1eb75ece
...
...
@@ -74,7 +74,7 @@
<string>
my_title
</string>
<string>
my_reference
</string>
<string>
my_subordination_title
</string>
<string>
my_
specialise
_title
</string>
<string>
my_
agent
_title
</string>
<string>
my_role_list
</string>
<string>
my_function
</string>
<string>
my_activity
</string>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view/my_
specialise
_title.xml
→
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Career_view/my_
agent
_title.xml
View file @
1eb75ece
...
...
@@ -19,7 +19,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
specialise
_title
</string>
</value>
<value>
<string>
my_
agent
_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -76,7 +76,7 @@
<dictionary>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string>
specialise
</string>
</value>
<value>
<string>
agent
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Position_getCareerList.xml
View file @
1eb75ece
...
...
@@ -54,7 +54,7 @@
XXX: Return list of Persons who belong to a position.\n
"""\n
kw[\'portal_type\'] = \'Career\'\n
kw[\'
specialise
_uid\'] = context.getUid()\n
kw[\'
agent
_uid\'] = context.getUid()\n
return context.portal_catalog(**kw)\n
</string>
</value>
</item>
...
...
bt5/erp5_hr/SkinTemplateItem/portal_skins/erp5_hr/Position_getPersonList.xml
0 → 100644
View file @
1eb75ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
"""\n
Return list of Persons that have this position in their Career.\n
"""\n
kw[\'portal_type\'] = \'Career\'\n
kw[\'agent_uid\'] = context.getUid()\n
return [x.getParentValue() for x in context.portal_catalog(**kw)]\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Position_getPersonList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_hr/bt/revision
View file @
1eb75ece
15
\ No newline at end of file
16
\ No newline at end of file
bt5/erp5_hr/bt/template_portal_type_base_category_list
View file @
1eb75ece
Assignment |
specialise
Career |
specialise
Assignment |
agent
Career |
agent
Position Announcement | aggregate
Position Announcement | classification
Position Announcement | destination
...
...
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