banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #00066
[Bug 992141] Re: Conflito com instalação do modulo POS
I got it from brazilian banks location.
But I didn't realise that it wasn't compatible version with 6.1, sorry about the misunderstand.
I'm new in OpenERP community, and I'm trying to put it to work with my business, It's not so simple as appeared in first moment. :(
--
You received this bug notification because you are a member of Banking
Addons Team, which is the registrant for Banking Addons.
https://bugs.launchpad.net/bugs/992141
Title:
Conflito com instalação do modulo POS
Status in Banking Addons:
New
Bug description:
Depois que instalo account_banking não consigo mais instalar o módulo
POS ,da a seguinte msg de erro:
Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1004, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 948, in call_common
return self._call_kw(req, model, method, args, {})
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 962, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/opt/openerp/server/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 338, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/opt/openerp/server/openerp/modules/loading.py", line 253, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/opt/openerp/server/openerp/modules/loading.py", line 196, in load_module_graph
load_demo_xml(module_name, idref, mode)
File "/opt/openerp/server/openerp/modules/loading.py", line 91, in <lambda>
load_demo_xml = lambda *args: _load_data(cr, *args, kind='demo_xml')
File "/opt/openerp/server/openerp/modules/loading.py", line 136, in _load_data
tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
File "/opt/openerp/server/openerp/tools/yaml_import.py", line 908, in yaml_import
yaml_interpreter.process(yaml_string)
File "/opt/openerp/server/openerp/tools/yaml_import.py", line 843, in process
self._process_node(node)
File "/opt/openerp/server/openerp/tools/yaml_import.py", line 858, in _process_node
self.process_python(node)
File "/opt/openerp/server/openerp/tools/yaml_import.py", line 529, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/opt/openerp/server/openerp/addons/point_of_sale/test/00_register_open.yml", line 1, in <module>
-
File "/opt/openerp/server/openerp/addons/point_of_sale/wizard/pos_open_statement.py", line 65, in open_statement
statement_id = statement_obj.create(cr, uid, data, context=context)
File "/opt/openerp/server/openerp/addons/account/account_cash_statement.py", line 231, in create
res_id = super(account_cash_statement, self).create(cr, uid, vals, context=context)
File "/opt/openerp/server/openerp/addons/account/account_bank_statement.py", line 37, in create
return super(account_bank_statement, self).create(cr, uid, vals, context=context)
File "/opt/openerp/server/openerp/osv/orm.py", line 4191, in create
self._validate(cr, user, [id_new], context)
File "/opt/openerp/server/openerp/osv/orm.py", line 1448, in _validate
if not fun(self, cr, uid, ids):
File "/opt/openerp/server/openerp/addons/account/account_bank_statement.py", line 175, in _check_company_id
if statement.company_id.id != statement.period_id.company_id.id:
AttributeError: 'NoneType' object has no attribute 'id'
Quando instalo primeiro o POS não consigo instalar o account_banking!
To manage notifications about this bug go to:
https://bugs.launchpad.net/banking-addons/+bug/992141/+subscriptions
References