On Jan 8, 2008, at 8:22 AM, Simen Haugen wrote:

> Nothing changed? I changed it with the grid. Shouldn't that change the
> bizobj too?

        OK, I misunderstood, based on the data set you reported:

 >>> b.new()
 >>> b.getDataSet()
({'project': u'reshn011', 'bnummer': u'', 'telefonval': u''},)
 >>> b.save() # Hmmm.. no error at least

        In this sequence, I didn't see any place where the grid editing had  
occurred; in fact, since you're working at the bizobj level, it's  
hard to believe that the grid ever even saw the new record. This just  
looked like a series of sequentially-executed statements. The data  
set looked to me like a default value for 'project', and new empty  
values for the others. Did you actually modify the 'project' field in  
the grid from its default? Are the values in getDataSet() the values  
that you set when you edited the new record in the grid, and are they  
different than the default values that appeared in

-- 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]

Reply via email to