← Back to team overview

openerp-india team mailing list archive

[Bug 1261427] [NEW] Webkit render! Field 'address' does not exist

 

Public bug reported:

I installed webkit and try to take the print of the Qtation/SaleOrder is
is giving an ERROR

Webkit render!


Traceback (most recent call last):
File "/home/tlithin/openerp-bzr/addons/report_webkit/webkit_report.py", line 285, in create_single_pdf
**self.parser_instance.localcontext)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 302, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0xaf47e3ecL", line 36, in render_body
<td >${company.partner_id.address and company.partner_id.address[0].street or ''|entity}</td>
File "/home/tlithin/openerp-dev/server/openerp/osv/orm.py", line 486, in __getattr__
raise AttributeError(e)
AttributeError: "Field 'address' does not exist in object 'browse_record(res.partner, 6)'"

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1261427

Title:
  Webkit render! Field 'address' does not exist

Status in OpenERP Addons (modules):
  New

Bug description:
  I installed webkit and try to take the print of the Qtation/SaleOrder
  is is giving an ERROR

  Webkit render!


  Traceback (most recent call last):
  File "/home/tlithin/openerp-bzr/addons/report_webkit/webkit_report.py", line 285, in create_single_pdf
  **self.parser_instance.localcontext)
  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 302, in render
  return runtime._render(self, self.callable_, args, data)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render
  **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context
  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template
  callable_(context, *args, **kwargs)
  File "memory:0xaf47e3ecL", line 36, in render_body
  <td >${company.partner_id.address and company.partner_id.address[0].street or ''|entity}</td>
  File "/home/tlithin/openerp-dev/server/openerp/osv/orm.py", line 486, in __getattr__
  raise AttributeError(e)
  AttributeError: "Field 'address' does not exist in object 'browse_record(res.partner, 6)'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1261427/+subscriptions


Follow ups

References