From 935c4766641b5076baa08158b0cf8d6fc6e432e1 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 7 Aug 2014 12:41:33 +0200 Subject: [PATCH] [IMP] orm.Field: doc for @copy attribute --- openerp/fields.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openerp/fields.py b/openerp/fields.py index 1b3cdabe29c..814bac5612e 100644 --- a/openerp/fields.py +++ b/openerp/fields.py @@ -135,6 +135,11 @@ class Field(object): :param groups: comma-separated list of group xml ids (string); this restricts the field access to the users of the given groups only + :param bool copy: whether the field value should be copied when the record + is duplicated (default: ``True`` for normal fields, ``False`` for + ``one2many`` and computed fields, including property fields and + related fields) + .. _field-computed: .. rubric:: Computed fields