[FIX] default_get: fixed RST indentation in docstring

bzr revid: odo@openerp.com-20100817100233-0ayry3c8miphj3pp
This commit is contained in:
Olivier Dony 2010-08-17 12:02:33 +02:00
parent f34a7ffba4
commit d74468b303
1 changed files with 2 additions and 1 deletions

View File

@ -1050,9 +1050,10 @@ class orm_template(object):
def default_get(self, cr, uid, fields_list, context=None):
"""
Returns default values for the fields in fields_list.
:param fields_list: list of fields to get the default values for (example ['field1', 'field2',])
:type fields_list: list
:param context: usual context dictionary - it may contains keys in the form ``default_XXX``
:param context: usual context dictionary - it may contains keys in the form ``default_XXX``,
where XXX is a field name to set or override a default value.
:return: dictionary of the default values (set on the object model class, through user preferences, or in the context)
"""