Odoo Help


error when adding product to saleorder in multi-company

Kris Coenen
on 7/31/13, 10:34 AM 1,162 views


When i want to add a product to a sale order in a multi-company enviroment. i get the following error

Client Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\sale_stock\sale_stock.py", line 613, in product_id_change File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\orm.py", line 484, in __getattr__ File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\orm.py", line 399, in __getitem__ File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\orm.py", line 3604, in read File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\orm.py", line 3712, in _read_flat File "C:\Program Files\OpenERP 7.0\Server\server.\openerp\osv\fields.py", line 1133, in get File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\stock\product.py", line 358, in _product_available File "C:\Program Files\OpenERP 7.0\Server\server\openerp\addons\stock\product.py", line 219, in get_product_available TypeError: 'bool' object is unsubscriptable

i get this error when using a user in a subcompany to the main company. the administrator doen't get this error

i'm using Openerp Versie 7.0-20130730-231022 on windows 7 32bit profesional

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/31/13, 10:34 AM
Seen: 1162 times
Last updated: 3/16/15, 8:10 AM