Hi Nicolas,

thank you for your reaction. You mention  the behaviour of the many2many
widget in your answer. However, that widget does actually properly
support the required flag. It is where I copied the code from, in the
same file.

As this is in my view inconsistent, can you explain in more detail what
is the rationale to ignore this attribute on many2one fields?

My business case btw. is a client who does not want any partners without
an address in their system.

Cheers,
Stefan.

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/1013636

Title:
  [6.1, trunk] One2many widget does not honour being 'required'

Status in OpenERP Web:
  Opinion
Status in OpenERP GTK Client:
  Opinion

Bug description:
  Hi,

  both 6.1 and trunk do not signal correctly when a required one2many
  field is being left empty.

  An example from the base module is to go to Settings -> Technical ->
  Database Structure -> Models. Create a new model, but do not enter any
  fields. The model can be saved without an error message, even though
  Fields is a required field on ir.model.

  I would expect the client to raise an error 'The following fields are
  invalid: Fields'

  cheers,
  Stefan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1013636/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to