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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
7c4264a0
Commit
7c4264a0
authored
Mar 14, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_hr_calendar: Move Mixin definitions to PortalTypeTypeMixin
Use the proper way to include Mixin into a portal type
parent
a79901e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
16 deletions
+10
-16
bt5/erp5_hr_calendar/PortalTypeTemplateItem/portal_types/Public%20Holiday%20Line.xml
...TypeTemplateItem/portal_types/Public%20Holiday%20Line.xml
+0
-8
bt5/erp5_hr_calendar/PortalTypeTemplateItem/portal_types/Time%20Table%20Line.xml
...rtalTypeTemplateItem/portal_types/Time%20Table%20Line.xml
+0
-8
bt5/erp5_hr_calendar/PortalTypeTypeMixinTemplateItem/type_mixin.xml
...r_calendar/PortalTypeTypeMixinTemplateItem/type_mixin.xml
+8
-0
bt5/erp5_hr_calendar/bt/template_portal_type_type_mixin_list
bt5/erp5_hr_calendar/bt/template_portal_type_type_mixin_list
+2
-0
No files found.
bt5/erp5_hr_calendar/PortalTypeTemplateItem/portal_types/Public%20Holiday%20Line.xml
View file @
7c4264a0
...
@@ -56,14 +56,6 @@
...
@@ -56,14 +56,6 @@
<tuple/>
<tuple/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple>
<string>
PeriodicityMixin
</string>
</tuple>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
bt5/erp5_hr_calendar/PortalTypeTemplateItem/portal_types/Time%20Table%20Line.xml
View file @
7c4264a0
...
@@ -64,14 +64,6 @@
...
@@ -64,14 +64,6 @@
<tuple/>
<tuple/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple>
<string>
PeriodicityMixin
</string>
</tuple>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
bt5/erp5_hr_calendar/PortalTypeTypeMixinTemplateItem/type_mixin.xml
0 → 100644
View file @
7c4264a0
<type_mixin>
<portal_type
id=
"Public Holiday Line"
>
<item>
PeriodicityMixin
</item>
</portal_type>
<portal_type
id=
"Time Table Line"
>
<item>
PeriodicityMixin
</item>
</portal_type>
</type_mixin>
\ No newline at end of file
bt5/erp5_hr_calendar/bt/template_portal_type_type_mixin_list
0 → 100644
View file @
7c4264a0
Public Holiday Line | PeriodicityMixin
Time Table Line | PeriodicityMixin
\ 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