On Jan 8, 2008, at 6:42 AM, Simen Haugen wrote:
> If I use bizobj.new() and uses a grid to edit the values, then
> saveAll(), the changed rows is [None, None, None]... And of course
> gives
> an error when trying to move thru the rows.
There is nothing changed in the newly-added row, so it is discarded,
leaving an empty data set. Default values are not considered 'changed'.
To change this behavior, you need to set the bizobj property
SaveNewUnchanged to True.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]