~numerigraphe/openobject-server/trunk-bug525808-mutable-defaults

Viewing all changes in revision 3774.

  • Committer: Olivier Dony
  • Date: 2011-10-21 14:28:36 UTC
  • Revision ID: odo@openerp.com-20111021142836-0k4qruhe1vgodysu
[IMP] fields.boolean,integer,float: warning when required=True, as it has no effect

A PendingDeprecationWarning is used in order to reduce the
verbosity of the logging, and to indicate that we might
forbid passing required=True in a future OpenERP version
for fields types where it makes no sense.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: