← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 778123] Re: one2many entry not saved

 

[Expired for OpenERP GTK Client because there has been no activity for
60 days.]

** Changed in: openobject-client
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/778123

Title:
  one2many entry not saved

Status in OpenERP GTK Client:
  Expired

Bug description:
  On the 6.0 GTK Client (both 6.0.1 and 6.0.2 on Windows), when an entry
  is added to a one2many list and all required fields are prefilled by
  defauls and no other values are entered on the entry, a save on the
  parent object will not send the new entry to the server and hence it
  will not be saved. After the save and the read of the object the new
  entry is gone.

  It is expected that the entry would be saved and added to the one2many
  list evens if all data of the entry is prefilled by defaults and the
  user doesn't enter or changes any data.

  How to replicate:
  1. create class A
  2. create class B
  3. all required fields of class B have defaults
  4. create a one2many field of B on A
  5. create the necessary views
  6. create a new object A
  7. save object A
  8. add object B to object A via the new button on the one2many field
  9. the form of class B is show with all the required field prefilled with the defaults
  10. press 'save and close'
  11. object B is added to the one2many list 
  12. save object A
  13. object B disappear in the one2many list

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/778123/+subscriptions


References