I am sorry; it was a mistake at my end. While the createBizobjs function 
calls it 'ledgersBizobj', the Class in the code was called 
'LedgersBizobj'. When I corrected it, the child could relate to the 
parent!! Thanks.

Manoharan Durga wrote:
> I am trying to create a form with parent-child relationship, refering 
> to the DABO screenshot on customers and orders. My parent form 
> contains Ledger Groups and the child form is to show the Ledger 
> Accounts under each of the Ledger Group. The parent form showed all 
> the records properly, but after I inserted the fields in the child 
> form using IDE, I got the following error.
>
> Attribute Error: 'module' object has no attribute 'ledgersBizobj'
>
> I am giving below the createBizobjs code automatically generated also 
> below. The last line was added manually:
>
> def createBizobjs(self):
>
>    LedgergroupsBizobj = 
> self.Application.biz.LedgergroupsBizobj(self.Connection)
>    self.addBizobj(LedgergroupsBizobj)
>       ledgersBizobj = self.Application.biz.ledgersBizobj(self.Connection)
>    self.addBizobj(ledgersBizobj)
>       LedgergroupsBizobj.addChild(ledgersBizobj)
>
> The platform is
>
> Platform: GTK
> Python Version: 2.5.2 on linux2
> Dabo Version: Version 0.9.1; revision ~5105
> UI Version: 2.8.7.1 on wxGTK (gtk2)
>
> Can someone help?
>
> Regards,
> Manoharan
>
>



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

Reply via email to