OpenERP 7.0 - Product Screen -Request Procurement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi All,
I created blank database in the openERP 7.0 web client. I installed CRM, Purchase, Warehouse,
I have created the organization under Settings-> Companies.
I created 3 products A,B and C. Also, I have created a Bill of Material for A with BOM components as B and C.
I navigated to product A and clicked on Request procurement button which took me to next screen with a button ask for new products. This leads to INT: admin screen which has 'Run Procurement' Button. When this button is clicked, I get the following error.
OpenERP Server Error
Client Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
Server Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
TypeError: 'NoneType' object is unsubscriptable
This, however, does not happen when db with demonstration data is used.
I would appreciate any help
Regards
affects: | openobject-library → openobject-addons |
description: | updated |
As suggested by Daniel Reis(SECURITAS SA) here are the steps to reproduce the bug.
Install openERP and an already installed postgress instance. (Uncheck postgress during openERP 7.0 installation).
After installation is successful change the pg patch in the openerp-server.conf file to point openERP to the correct posgress directory.
Environment : Windows 7
Install the modules : CRM, Project Accounting, Purchase, Warehouse, Manufacturing and Human Resources.
Go to Settings-> Companies and Create a company.
Go to Warehouse -> Products and create following products
Product A - Choose any category and make the product as Check Mark 'Can be sold'. Procurement Method: Make to order,Supply Method :Manufacture. Enter the Cost price.
Product B and Product C - Choose any category and Check mark 'Can be Purchased'. Procurement Method: Make to Stock and Supply Method : Buy.
Go to Product A and create Bill of Material by clicking on to button Bill of Materials. Choose B and C as BoM components for A.
To reproduce the Error, Click on Product B or C and Click on button 'Request for Procurement' and click on the button 'Ask for New Products' in the next screen. This will take you to Products / B / INT: admin screen. Click on 'Run Procurement'
This displays the said error as shown below again.
OpenERP Server Error 002240\ Server\ server\ openerp\ addons\ web\http. py", line 195, in dispatch 002240\ Server\ server\ openerp\ addons\ web\controllers \main.py" , line 1089, in exec_workflow 002240\ Server\ server\ openerp\ addons\ web\session. py", line 148, in exec_workflow 002240\ Server\ server\ openerp\ addons\ web\session. py", line 31, in proxy_method 002240\ Server\ server\ openerp\ addons\ web\session. py", line 104, in send
Client Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
Server Traceback (most recent call last): 002240\ Server\ server\ openerp\ addons\ web\session. py", line 90, in send 002240\ Server\ server\ .\openerp\ netsvc. py", line 289, in dispatch_rpc 002240\ Server\ server\ .\openerp\ service\ web_services. py", line 614, in dispatch 002240\ Server\ server\ .\openerp\ osv\osv. py", line 123, in wrapper 002240\ Server\ server\ .\openerp\ osv\osv. py", line 202, in exec_workflow 002240\ Server\ server\ openerp\ addons\ audittrail\ audittrail. py", line 520, in exec_workflow_cr 002240\ Server\ server\ .\openerp\ osv\osv. py", line 195, in exec_workflow_cr 002240\ Server\ server\ .\openerp\ osv\orm. py", line 3928, in _workflow_signal 002240\ Server\ server\ .\openerp\ workflow\ wkf_service. py", line 119, ...
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-
File "C:\Program Files (x86)\OpenERP 7.0-20130118-