[DOC] fields.py: oldname key
authorRichard Mathot <rim@openerp.com>
Mon, 3 Nov 2014 12:39:16 +0000 (18:09 +0530)
committerRichard Mathot <rim@openerp.com>
Mon, 3 Nov 2014 12:39:16 +0000 (18:09 +0530)
openerp/fields.py

index 53f6024..7c46361 100644 (file)
@@ -125,6 +125,9 @@ class Field(object):
             ``one2many`` and computed fields, including property fields and
             related fields)
 
+        :param string oldname: the previous name of this field, so that ORM can rename
+            it automatically at migration
+
         .. _field-computed:
 
         .. rubric:: Computed fields