This forum is now just an archive. Use the new Q&A website
It is currently Thu Apr 24, 2014 12:16 am

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: 'NoneType' object has no attribute _table
PostPosted: Sat Sep 20, 2008 7:28 pm 
Offline

Joined: Sat Sep 06, 2008 11:35 am
Posts: 22
Hi,

I've written a piece of code. It works at first install but when i try to update it i have the following message:

'NoneType' object has no attribute _table

Any idea ?

Thanks for your support


Top
 Profile  
 
 Post subject: +1
PostPosted: Sun Sep 21, 2008 12:12 am 
Offline

Joined: Sat Feb 02, 2008 10:36 am
Posts: 85
Location: South Africa
I get this all the time - though it was only me & actually this error is my number 1 dislike of OpenERP. I've posted about it before but no real help came. So I just do work arounds and build new versions of modules in development until they are ready for release (got up to version 15 on my last module). Then once released if there are major issues then I tend to modify existing modules by using new modules & inheriting the previous one.

At one point I thought I had worked this error out (for cases where I wasn't altering the <module>.py file) by making sure that I had all the possible dependancies in the module but that doesn't seems to work all the time.

If someone knows a way of getting around this it will really be helpful.


Top
 Profile  
 
 Post subject: [Tinyerp-users] 'NoneType' object has no attribute _table
PostPosted: Mon Sep 22, 2008 12:24 pm 
Offline
OpenERP Developer

Joined: Thu Jul 31, 2008 1:04 pm
Posts: 65
forum-user@tinyerp.org a


Top
 Profile  
 
 Post subject: Problem solved
PostPosted: Mon Sep 22, 2008 7:48 pm 
Offline

Joined: Thu Aug 28, 2008 10:28 pm
Posts: 5
The problem was solved.
I had to declare the correct dependancies in terp.py and it works.
Thanks for your attention.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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