Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Product Screen - Request Procurement [Closed]

By
Sudheendra Walvekar
on 2/15/13, 8:00 AM 1,287 views

The Question has been closed for reason: not a real question

by
Nicolas Bessi
on 02/15/2013 08:26:22

Hi All, I am trying to raise a request for procurement of a product that I have created by navigating to product -> Request Procurement -> Ask New Products -> Run Procurement.

But I encounter an Error TypeError: 'NoneType' object is unsubscriptable.

Following is the Error detail

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

I would appreciate any help Regards

I just did that in a "Test Online" instance, using the "[C-Case] Computer Case" product, and it ran nicely. Maybe you should add more details on how the replicate the problem.

Daniel Reis
on 2/15/13, 8:11 AM

Thank you very much. In fact, this runs well on DB with demonstration data. I came across this error after after creating 3 products, A,B and C. Created BOM for A with B and C as components. A is Make to Order where as B and C are made to stock. This was done on a fresh DB with no demo data.

Prime Minds Consultancy Services, Sudheendra Walvekar
on 2/15/13, 8:27 AM
0
Gilles Major (gim)
On 2/15/13, 8:18 AM

Hello, you should make a bug report on launchpad (https://launchpad.net/openobject).

More info on how to proceed: https://accounts.openerp.com/forum/Help-1/question/1077

Try to see if you can replicate the bug and provide steps in launchpad.

Thank you very much. I shall create a bug report on launchpad.

Prime Minds Consultancy Services, Sudheendra Walvekar
on 2/15/13, 8:32 AM

For future reference, the bug report is here.

Daniel Reis
on 2/15/13, 10:56 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/15/13, 8:00 AM
Seen: 1287 times
Last updated: 3/16/15, 8:10 AM