Hi i am testing this module after delete rule for account.account and select
a product i get this error:

[2009-07-20 18:36:32,742] ERROR:web-services:[01]: Traceback (most recent
call last):
[2009-07-20 18:36:32,743] ERROR:web-services:[02]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/osv/osv.py", line 59, in
wrapper
[2009-07-20 18:36:32,743] ERROR:web-services:[03]:     return f(self,
dbname, *args, **kwargs)
[2009-07-20 18:36:32,743] ERROR:web-services:[04]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/osv/osv.py", line 119,
in execute
[2009-07-20 18:36:32,743] ERROR:web-services:[05]:     res =
pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2009-07-20 18:36:32,743] ERROR:web-services:[06]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/osv/osv.py", line 111,
in execute_cr
[2009-07-20 18:36:32,743] ERROR:web-services:[07]:     return
getattr(object, method)(cr, uid, *args, **kw)
[2009-07-20 18:36:32,744] ERROR:web-services:[08]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/addons/multi_company_account/multi_company_account.py",
line 152, in product_id_change
[2009-07-20 18:36:32,744] ERROR:web-services:[09]:     print
app_acc_exp.company_id
[2009-07-20 18:36:32,744] ERROR:web-services:[10]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/osv/orm.py", line 218,
in __getattr__
[2009-07-20 18:36:32,744] ERROR:web-services:[11]:     return self[name]
[2009-07-20 18:36:32,744] ERROR:web-services:[12]:   File
"/home/ovnicraft/openerp/openerp-server-5.0.1-0/bin/osv/orm.py", line 214,
in __getitem__
[2009-07-20 18:36:32,744] ERROR:web-services:[13]:     return
self._data[self._id][name]
[2009-07-20 18:36:32,744] ERROR:web-services:[14]: KeyError: 'company_id'

I dont understand this because account.account has company_id field if line
151 code do this:

app_acc_in.company_id and that give this error.

how i can solve this?


wating for your help,


best regards,

-- 
Cristian Salamea
CEO GnuThink Software Labs
Software Libre / Open Source
(+593-8) 4-36-44-48
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to