Skip to content

Commit

Permalink
Version 0.5.1-lst
Browse files Browse the repository at this point in the history
  • Loading branch information
system7ltd committed Oct 18, 2017
1 parent aef853a commit 7df8f1d
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Main features
* direct co-worker relationship
* parent-subsidiary/associate relationship

* simple yet powerful and flexible mechanism providing multiple independent diaries and annotations which can be associated to persons and organisations in order to capture and store any useful information (e.g. a diary describing a history of all the interactions between entities)
* simple yet powerful and flexible mechanism providing multiple independent diaries and annotations which can be associated to persons and organisations in order to capture and store any useful information (e.g. a diary describing a history of all the interactions between entities) <soon>
* several new content types (Address, E-mail Address, Instant Messenger Contact, Organisation, Person, Share, Telephone Number, Web Page)
* integrated with Google Maps (depends on the Maps Plone product)
* integrated with Diaries
* integrated with Diaries <soon>
* easily expandable to incorporate new fields and new relations (see extraschema in the product directory and the PPPTKContactManager branch for an example on how to use the extraschema facility)


Expand Down
102 changes: 102 additions & 0 deletions extraschema/TKOrganisation_extraschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,107 @@
schemata='PPP',
allowed_types=['SmifProject','PPPSPC'],
),

RelationField(
name='fmContractorForProspects',
widget=ReferenceBrowserWidget(
label='FM contractor for prospects',
label_msgid='TKContactManager_label_fmContractorForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='fmcontractor_fmcontractorforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

RelationField(
name='clientForProspects',
widget=ReferenceBrowserWidget(
label='Client for prospects',
label_msgid='TKContactManager_label_clientForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='client_clientforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

RelationField(
name='constructorForProspects',
widget=ReferenceBrowserWidget(
label='Constructor for prospects',
label_msgid='TKContactManager_label_constructorForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='constructor_constructorforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

RelationField(
name='projCoForProspects',
widget=ReferenceBrowserWidget(
label='ProjCo for prospects',
label_msgid='TKContactManager_label_projCoForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='projco_projcoforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

RelationField(
name='shareholderForProspects',
widget=ReferenceBrowserWidget(
label='Shareholder for prospects',
label_msgid='TKContactManager_label_shareholderForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='shareholders_shareholderforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

RelationField(
name='seniorLenderForProspects',
widget=ReferenceBrowserWidget(
label='Senior lender for prospects',
label_msgid='TKContactManager_label_seniorLenderForProspects',
i18n_domain='TKContactManager',
base_query={'portal_type':['PPPProspect']},
show_path=0,
show_results_without_query=1,
allow_browse=1,
),
multiValued=1,
relationship='seniorlender_seniorlenderforprospects',
schemata='PPP',
allowed_types=['PPPProspect'],
),

),)
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5-lst
0.5.1-lst

0 comments on commit 7df8f1d

Please sign in to comment.