-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: setup.py
- Loading branch information
Showing
19 changed files
with
309 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
from AccessControl import ClassSecurityInfo | ||
from Products.Archetypes.public import BaseContent | ||
from Products.Archetypes.public import registerType | ||
from bika.lims.content.bikaschema import BikaSchema | ||
from bika.health.config import PROJECTNAME | ||
|
||
schema = BikaSchema.copy() | ||
schema['description'].widget.visible = True | ||
schema['description'].schemata = 'default' | ||
|
||
class CaseSyndromicClassification(BaseContent): | ||
security = ClassSecurityInfo() | ||
displayContentsTab = False | ||
schema = schema | ||
|
||
_at_rename_after_creation = True | ||
def _renameAfterCreation(self, check_auto_id=False): | ||
from bika.lims.idserver import renameAfterCreation | ||
renameAfterCreation(self) | ||
|
||
registerType(CaseSyndromicClassification, PROJECTNAME) | ||
from AccessControl import ClassSecurityInfo | ||
from Products.ATExtensions.ateapi import RecordsField | ||
from DateTime import DateTime | ||
from Products.ATExtensions.ateapi import DateTimeField, DateTimeWidget | ||
from Products.Archetypes.public import * | ||
from Products.CMFCore.permissions import View, ModifyPortalContent | ||
from bika.lims import bikaMessageFactory as _b | ||
from bika.health import bikaMessageFactory as _ | ||
from bika.lims.content.bikaschema import BikaSchema | ||
from bika.health.config import PROJECTNAME | ||
from bika.lims.browser.widgets import RecordsWidget | ||
from zope.interface import implements | ||
|
||
schema = BikaSchema.copy() | ||
schema['description'].widget.visible = True | ||
schema['description'].schemata = 'default' | ||
|
||
class CaseSyndromicClassification(BaseContent): | ||
security = ClassSecurityInfo() | ||
displayContentsTab = False | ||
schema = schema | ||
|
||
_at_rename_after_creation = True | ||
def _renameAfterCreation(self, check_auto_id=False): | ||
from bika.lims.idserver import renameAfterCreation | ||
renameAfterCreation(self) | ||
|
||
registerType(CaseSyndromicClassification, PROJECTNAME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.