openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23615
[Bug 1126178] Re: OpenERP 7.0 - Product Screen -Request Procurement
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
Client Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\http.py", line 195, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\controllers\main.py", line 1089, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 148, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 104, in send
Server Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 90, in send
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\netsvc.py", line 289, in dispatch_rpc
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\service\web_services.py", line 614, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 123, in wrapper
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 202, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\audittrail\audittrail.py", line 520, in exec_workflow_cr
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 195, in exec_workflow_cr
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\orm.py", line 3928, in _workflow_signal
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\wkf_service.py", line 119, in trg_validate
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\instance.py", line 43, in validate
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 52, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 133, in _execute
TypeError: 'NoneType' object is unsubscriptable
Hope I have given the required information. Request some help to resolve
the issue. As mentioned before this error is not seen when connected to
a DB with demonstration data.
Regards.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1126178
Title:
OpenERP 7.0 - Product Screen -Request Procurement
Status in OpenERP Addons (modules):
New
Bug description:
Hi All,
I created blank data base. I installed CRM, Purchase, Warehouse,Manufacturing, Human resources, Accounting modules.
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-002240\Server\server\openerp\addons\web\http.py", line 195, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\controllers\main.py", line 1089, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 148, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 104, in send
Server Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 90, in send
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\netsvc.py", line 289, in dispatch_rpc
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\service\web_services.py", line 614, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 123, in wrapper
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 202, in exec_workflow
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\audittrail\audittrail.py", line 520, in exec_workflow_cr
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 195, in exec_workflow_cr
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\orm.py", line 3928, in _workflow_signal
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\wkf_service.py", line 119, in trg_validate
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\instance.py", line 43, in validate
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 60, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 175, in _split_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 183, in _join_test
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 40, in create
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 52, in process
File "C:\Program Files (x86)\OpenERP 7.0-20130118-002240\Server\server\.\openerp\workflow\workitem.py", line 133, in _execute
TypeError: 'NoneType' object is unsubscriptable
This, however, does not happen when db with demonstration data is used.
I would appreciate any help
Regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1126178/+subscriptions