← Back to team overview

openerp-india team mailing list archive

[Bug 1021381] Re: custom fields cause server update error openerp 6.1

 

Hello charton Jérémie ,

I have checked this issue with trunk as well as stable 6.1 
.I have created a custom field x_test then set this field in view. 
after that I have created a x_test field in product.py and define field  in product_view
then upgrade module.But I did not get any traceback like  yours.
So would you please  provide more information regarding this issue.

I have attached  a video for your more reference.

Thank you!



** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1021381

Title:
  custom fields cause server update error openerp 6.1

Status in OpenERP Server:
  Incomplete

Bug description:

  Hi.
  I'm working under v6.1 (ubuntu & windows).
  I still get the bug:
  when I create a custom field under web interface, then later on, fed up losing my custom fields in views when i update the module, i decided to add it directly in the product.py and product_view.py : as i named fields the same name i did in the web interface, seems the server is lost. It should update the fields from web interface with the new ones in the code, no ??

  Client Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 180, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\controllers\main.py", line 466, in authenticate
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\session.py", line 73, in authenticate
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 611, in send

  Server Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 592, in send
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\service\web_services.py", line 384, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\service\web_services.py", line 395, in exp_authenticate
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\pooler.py", line 50, in get_pool
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\pooler.py", line 33, in get_db_and_pool
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\registry.py", line 138, in get
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\registry.py", line 160, in new
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\loading.py", line 334, in load_modules
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\loading.py", line 253, in load_marked_modules
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\loading.py", line 170, in load_module_graph
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\modules\module.py", line 378, in init_module_models
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\orm.py", line 2935, in _auto_init
  AttributeError: 'NoneType' object has no attribute '_table'

  It's gonna be a critical issue for me!!!!
  Thanks in advance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1021381/+subscriptions


References