summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Demonte <nicolas@affinitic.be>2020-07-13 13:19:29 (GMT)
committerNicolas Demonte <nicolas@affinitic.be>2020-07-13 13:19:29 (GMT)
commit89f2b1eba0341de38de304aeb07db3db4e78db39 (patch)
tree2932ac0786ff05cf0ce2312b4616854e720a67f0
parent94ba5f6afd35479d79e4b2dd8de07a331af891d1 (diff)
downloadcollective.contact.core-master.zip
collective.contact.core-master.tar.gz
collective.contact.core-master.tar.bz2
Remove meta_type overrides #41067HEADmaster
This fixes standard copy-paste behavior. The overrides don't seem useful inside the GED. https://groups.google.com/forum/#!topic/dexterity-development/78si45jllyA
-rw-r--r--src/collective/contact/core/content/directory.py2
-rw-r--r--src/collective/contact/core/content/held_position.py2
-rw-r--r--src/collective/contact/core/content/person.py2
-rw-r--r--src/collective/contact/core/content/position.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/collective/contact/core/content/directory.py b/src/collective/contact/core/content/directory.py
index 105c73d..645983d 100644
--- a/src/collective/contact/core/content/directory.py
+++ b/src/collective/contact/core/content/directory.py
@@ -52,7 +52,7 @@ class Directory(Container):
"""Directory content type"""
implements(IDirectory)
- meta_type = 'directory'
+ # meta_type = 'directory'
class DirectorySchemaPolicy(grok.GlobalUtility,
diff --git a/src/collective/contact/core/content/held_position.py b/src/collective/contact/core/content/held_position.py
index 0f96e99..65375db 100644
--- a/src/collective/contact/core/content/held_position.py
+++ b/src/collective/contact/core/content/held_position.py
@@ -89,7 +89,7 @@ class HeldPosition(Container):
implements(IHeldPosition)
- meta_type = 'held_position'
+ # meta_type = 'held_position'
use_parent_address = NO_VALUE
parent_address = NO_VALUE
diff --git a/src/collective/contact/core/content/person.py b/src/collective/contact/core/content/person.py
index e16a224..d4f306d 100644
--- a/src/collective/contact/core/content/person.py
+++ b/src/collective/contact/core/content/person.py
@@ -66,7 +66,7 @@ class Person(Container):
implements(IPerson)
- meta_type = 'person'
+ # meta_type = 'person'
is_created = False
# plone.dexterity.content.Content.__getattr__ retrieve the field.default
# so step 1.2.1 in z3c.form.widget.py returns something instead of NO_VALUE
diff --git a/src/collective/contact/core/content/position.py b/src/collective/contact/core/content/position.py
index ae93eef..4e4f3db 100644
--- a/src/collective/contact/core/content/position.py
+++ b/src/collective/contact/core/content/position.py
@@ -56,7 +56,7 @@ class Position(Container):
implements(IPosition)
- meta_type = 'position'
+ # meta_type = 'position'
use_parent_address = NO_VALUE
parent_address = NO_VALUE