It is currently Tue May 22, 2012 11:12 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: calling method from another folder/ another class
PostPosted: Thu May 19, 2011 4:31 pm 
Offline

Joined: Wed Jan 14, 2009 2:06 pm
Posts: 122
Location: Romania
Hello!

I have a module with report, wizard folders and i need a method from report folder called in wizard folder.
This method not works for me:
http://stackoverflow.com/questions/7148 ... ther-files

How can i resolve this?


Top
 Profile  
 
 Post subject: Re: calling method from another folder/ another class
PostPosted: Thu May 19, 2011 7:10 pm 
Offline

Joined: Mon Jan 17, 2011 7:11 pm
Posts: 14
Location: Ahmedabad, Gujarat(INDIA)
You need to call like this suppose your addons module name is "terpe" so, call modules inside of "report" with "from terpe.report import *"

_________________
Dharmesh PATEL
http://www.dharmeshpatel.me


Top
 Profile  
 
 Post subject: Re: calling method from another folder/ another class
PostPosted: Fri May 20, 2011 10:10 am 
Offline

Joined: Wed Jan 14, 2009 2:06 pm
Posts: 122
Location: Romania
Thanks! Now works


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP