c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27250
[Bug 802192] [NEW] crash creazione ri.ba.
Public bug reported:
OpenERP v. 6.0.2 non permette la creazione di ri.ba.
Da un'installazione nuova è stata creata una fattura cliente e creato il pagamento. Nell'anagrafica del cliente è stata registrata la banca con i dati anagrafici e l'IBAN.
Dà questo errore:
Traceback (most recent call last):
File "/home/sergio/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/sergio/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/sergio/openerp/server/bin/addons/hr/hr_department.py", line 94, in read
res = super(ir_action_window, self).read(cr, uid, select, fields=fields, context=context, load=load)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 2944, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 3064, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/sergio/openerp/server/bin/osv/fields.py", line 800, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/sergio/openerp/server/bin/addons/base/ir/ir_actions.py", line 193, in _search_view
fields_from_fields_get = self.pool.get(act.res_model).fields_get(cr, uid, context=context)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 1135, in fields_get
res[f]['selection'] = field_col.selection(self, cr, user, context)
File "/home/sergio/openerp/server/bin/addons/l10n_it_ri_ba/wizard/riba_file_export.py", line 199, in _get_debitor_banks
for bank in voucher_pool.browse(cr, uid, fields['active_ids'], context=context)[0].partner_id.bank_ids:
KeyError: 'active_ids'
** Affects: openobject-italia
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/802192
Title:
crash creazione ri.ba.
Status in OpenERP Italia:
New
Bug description:
OpenERP v. 6.0.2 non permette la creazione di ri.ba.
Da un'installazione nuova è stata creata una fattura cliente e creato il pagamento. Nell'anagrafica del cliente è stata registrata la banca con i dati anagrafici e l'IBAN.
Dà questo errore:
Traceback (most recent call last):
File "/home/sergio/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/sergio/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/sergio/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/sergio/openerp/server/bin/addons/hr/hr_department.py", line 94, in read
res = super(ir_action_window, self).read(cr, uid, select, fields=fields, context=context, load=load)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 2944, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 3064, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/sergio/openerp/server/bin/osv/fields.py", line 800, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/sergio/openerp/server/bin/addons/base/ir/ir_actions.py", line 193, in _search_view
fields_from_fields_get = self.pool.get(act.res_model).fields_get(cr, uid, context=context)
File "/home/sergio/openerp/server/bin/osv/orm.py", line 1135, in fields_get
res[f]['selection'] = field_col.selection(self, cr, user, context)
File "/home/sergio/openerp/server/bin/addons/l10n_it_ri_ba/wizard/riba_file_export.py", line 199, in _get_debitor_banks
for bank in voucher_pool.browse(cr, uid, fields['active_ids'], context=context)[0].partner_id.bank_ids:
KeyError: 'active_ids'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/802192/+subscriptions
Follow ups
References