c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27641
[Bug 803557] Re: account_check_writing.view_vendor_payment_check_form view problem
If I take the latest nightly tarball and overwrite the addons directory
with lp:~openerp-dev/openobject-addons/dsh-l10n_us, I get a traceback in
the accounting application configuration for the us chart of accounts:
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/opt/openerp/server/bin/addons/account/installer.py", line 210, in execute
f_ids = fy_obj.search(cr, uid, [('date_start', '<=', res['date_start']), ('date_stop', '>=', res['date_stop']), ('company_id', '=', res['company_id'][0])], context=context)
TypeError: 'int' object is unsubscriptable
--
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/803557
Title:
account_check_writing.view_vendor_payment_check_form view problem
Status in OpenERP - US Localization:
New
Bug description:
Revison number: 4024
While testing openerp with US localization, attempted to pay a supplier invoice. Rcvd the following traceback:
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/addons/account_voucher/account_voucher.py", line 136, in fields_view_get
res = super(account_voucher, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
File "/opt/openerp/server/bin/osv/orm.py", line 1598, in fields_view_get
result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
File "/opt/openerp/server/bin/osv/orm.py", line 1593, in _inherit_apply_rec
result = _inherit_apply(result, inherit, id)
File "/opt/openerp/server/bin/osv/orm.py", line 1535, in _inherit_apply
raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
File "/opt/openerp/server/bin/osv/orm.py", line 1449, in raise_view_error
'model': self._name, })
AttributeError: View definition error for inherited view 'account_check_writing.view_vendor_payment_check_form' on 'account.voucher' model: Element '<group name="other_info">' not found in parent view 'account_voucher.view_vendor_payment_form'
It appears that account_check_writing.view_vendor_payment_check_form
is defined in account_voucher_view.xml in addons/account_check_writing
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-usa/+bug/803557/+subscriptions
References