On Saturday 08 January 2011 12:13:03 pm Carey Gagnon wrote: > > Right off the bat I would say they are not the same: > > > > self.DefaultValues["yearextra"] = self.getTwoDigitYear() > > vs. > > self.DefaultValues["yearextra"] = self.getCurrentYear() > > -- > > Adrian Klaver > > My bad.... they are actually the same. That mismatch above was a copy and > paste error. I have two calls in my bizobj file like this. > self.getTwoDigitYear() > > & > > self.getCurrentYear() > > the self.getTwoDigitYear() was commented out in the bizobj file. > > Copied the wrong one out of the file...but the error still stands.
Just to be clear it is this error: AttributeError: 'ProjectExtrasBizobj' object has no attribute 'getCurrentYear' In other words the default we are working with is yearextra and the function is self.getCurrentYear(). One thing to look at is indentation. When I have had that problem it is because I move the function out of the block that contained the bizobj -- Adrian Klaver [email protected] _______________________________________________ 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/[email protected]
