Skip to content
Snippets Groups Projects
Commit abc50d10 authored by Xavier Morel's avatar Xavier Morel
Browse files

[IMP] application field doc

parent e06f5b41
No related branches found
No related tags found
No related merge requests found
...@@ -148,12 +148,16 @@ class view(osv.osv): ...@@ -148,12 +148,16 @@ class view(osv.osv):
required=True), required=True),
'application': fields.selection([ 'application': fields.selection([
('always', "Always applied"), ('always', "Always applied"),
('enabled', "Optional, enabled"), ('enabled', "Optional, enabled"),
('disabled', "Optional, disabled"), ('disabled', "Optional, disabled"),
], required=True, string="If this view is inherited, whether it can be" ],
" toggled off, and whether it is currently" required=True, string="Application status",
" enabled"), help="""If this view is inherited,
* if always, the view always extends its parent
* if enabled, the view currently extends its parent but can be disabled
* if disabled, the view currently does not extend its parent but can be enabled
"""),
} }
_defaults = { _defaults = {
'mode': 'primary', 'mode': 'primary',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment