Activity Access¶
-
class
activity_extension.nh_clinical_activity_access(pool, cr)[source]¶ Adds an additional permission type called
perm_responsibilityto an activity. This defines if a particular user group can or cannot perform an activity.-
_auto= False¶
-
_columns= {'location_activity_ids_text': <openerp.osv.fields.text object at 0x7f6e7bbe05d0>, 'location_ids_text': <openerp.osv.fields.text object at 0x7f6e7bbe07d0>, 'parent_location_activity_ids_text': <openerp.osv.fields.text object at 0x7f6e7bbe0650>, 'parent_location_ids_text': <openerp.osv.fields.text object at 0x7f6e7bbe0790>, 'user_id': <openerp.osv.fields.many2one object at 0x7f6e7bbe0250>}¶
-
_module= 'activity_extension'¶
-
_name= 'nh.clinical.activity.access'¶
-
location_activity_ids_text¶ Very similar to
Charbut used for longer contents, does not have a size and usually displayed as a multiline text box.Parameters: translate – whether the value of this field can be translated
-
location_ids_text¶ Very similar to
Charbut used for longer contents, does not have a size and usually displayed as a multiline text box.Parameters: translate – whether the value of this field can be translated
-
parent_location_activity_ids_text¶ Very similar to
Charbut used for longer contents, does not have a size and usually displayed as a multiline text box.Parameters: translate – whether the value of this field can be translated
-
parent_location_ids_text¶ Very similar to
Charbut used for longer contents, does not have a size and usually displayed as a multiline text box.Parameters: translate – whether the value of this field can be translated
-
user_id¶ The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parameters: - comodel_name – name of the target model (string)
- domain – an optional domain to set on candidate values on the client side (domain or string)
- context – an optional context to use on the client side when handling that field (dictionary)
- ondelete – what to do when the referred record is deleted;
possible values are:
'set null','restrict','cascade' - auto_join – whether JOINs are generated upon search through that
field (boolean, by default
False) - delegate – set it to
Trueto make fields of the target model accessible from the current model (corresponds to_inherits)
The attribute comodel_name is mandatory except in the case of related fields or field extensions.
-