openobject-italia-core-devs team mailing list archive
-
openobject-italia-core-devs team
-
Mailing list archive
-
Message #01258
Re: [Merge] lp:~icsergio/openobject-italia/remake-vat-registries into lp:openobject-italia/7.0
l'ho caricata in un branch nel mio utente, poi dovevo fare il merge
proposal, ma sono andato a letto :)
tanto non ho cambiato niente, funziona così com'era per la 6.1
2013/4/9 Lorenzo Battistini - Agile BG <lorenzo.battistini@xxxxxxxxxxx>
> Review: Needs Fixing
>
> Ho installato il modulo su un nuovo db e stampando ottengo
>
> 2013-04-09 10:26:31,330 12946 ERROR test_70
> openerp.addons.report_webkit.webkit_report:
>
> Traceback (most recent call last):
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 266, in create_single_pdf
> **self.parser_instance.localcontext)
> File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in
> render
> return runtime._render(self, self.callable_, args, data)
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 766, in
> _render
> **_kwargs_for_callable(callable_, data))
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 798, in
> _render_context
> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 824, in
> _exec_template
> callable_(context, *args, **kwargs)
> File "memory:0xb400966cL", line 82, in render_body
> <div class="act_as_cell " style="width:
> 30px;">${formatLang(line.invoice_id.registration_date,
> date=True)|entity}</div>
> File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py",
> line 486, in __getattr__
> raise AttributeError(e)
> AttributeError: "Field 'registration_date' does not exist in object
> 'browse_record(account.invoice, 1)'"
>
> 2013-04-09 10:26:31,332 12946 ERROR test_70 openerp.service.web_services:
> Exception: (u'Webkit render!', u'\n\nTraceback (most recent call last):\n
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 266, in create_single_pdf\n **self.parser_instance.localcontext)\n
> File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in
> render\n return runtime._render(self, self.callable_, args, data)\n
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 766, in
> _render\n **_kwargs_for_callable(callable_, data))\n File
> "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 798, in
> _render_context\n _exec_template(inherit, lclcontext, args=args,
> kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py",
> line 824, in _exec_template\n callable_(context, *args, **kwargs)\n
> File "memory:0xb400966cL", line 82, in render_body\n <div
> class="act_as_cell " style="width:
> 30px;">${formatLang(line.invoice_id.registration_date,
> date=True)|entity}</div>\n File
> "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py", line 486,
> in __getattr__\n raise AttributeError(e)\nAttributeError: "Field
> \'registration_date\' does not exist in object
> \'browse_record(account.invoice, 1)\'"\n')
> Traceback (most recent call last):
> File
> "/home/elbati/workspace/openerp/7.0/server/openerp/service/web_services.py",
> line 712, in go
> (result, format) = obj.create(cr, uid, ids, datas, context)
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 333, in create
> result = self.create_source_pdf(cursor, uid, ids, data, report_xml,
> context)
> File
> "/home/elbati/workspace/openerp/7.0/server/openerp/report/report_sxw.py",
> line 513, in create_source_pdf
> return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 271, in create_single_pdf
> raise except_osv(_('Webkit render!'), msg)
> except_osv: (u'Webkit render!', u'\n\nTraceback (most recent call last):\n
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 266, in create_single_pdf\n **self.parser_instance.localcontext)\n
> File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in
> render\n return runtime._render(self, self.callable_, args, data)\n
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 766, in
> _render\n **_kwargs_for_callable(callable_, data))\n File
> "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 798, in
> _render_context\n _exec_template(inherit, lclcontext, args=args,
> kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py",
> line 824, in _exec_template\n callable_(context, *args, **kwargs)\n
> File "memory:0xb400966cL", line 82, in render_body\n <div
> class="act_as_cell " style="width:
> 30px;">${formatLang(line.invoice_id.registration_date,
> date=True)|entity}</div>\n File
> "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py", line 486,
> in __getattr__\n raise AttributeError(e)\nAttributeError: "Field
> \'registration_date\' does not exist in object
> \'browse_record(account.invoice, 1)\'"\n')
> 2013-04-09 10:26:31,411 12946 ERROR test_70 openerp.netsvc: Webkit render!
>
>
> Traceback (most recent call last):
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 266, in create_single_pdf
> **self.parser_instance.localcontext)
> File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in
> render
> return runtime._render(self, self.callable_, args, data)
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 766, in
> _render
> **_kwargs_for_callable(callable_, data))
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 798, in
> _render_context
> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 824, in
> _exec_template
> callable_(context, *args, **kwargs)
> File "memory:0xb400966cL", line 82, in render_body
> <div class="act_as_cell " style="width:
> 30px;">${formatLang(line.invoice_id.registration_date,
> date=True)|entity}</div>
> File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py",
> line 486, in __getattr__
> raise AttributeError(e)
> AttributeError: "Field 'registration_date' does not exist in object
> 'browse_record(account.invoice, 1)'"
> Traceback (most recent call last):
> File "/home/elbati/workspace/openerp/7.0/server/openerp/netsvc.py", line
> 293, in dispatch_rpc
> result = ExportService.getService(service_name).dispatch(method,
> params)
> File
> "/home/elbati/workspace/openerp/7.0/server/openerp/service/web_services.py",
> line 654, in dispatch
> res = fn(db, uid, *params)
> File
> "/home/elbati/workspace/openerp/7.0/server/openerp/service/web_services.py",
> line 760, in exp_report_get
> return self._check_report(report_id)
> File
> "/home/elbati/workspace/openerp/7.0/server/openerp/service/web_services.py",
> line 738, in _check_report
> netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
> File "/home/elbati/workspace/openerp/7.0/server/openerp/netsvc.py", line
> 72, in abort_response
> raise openerp.osv.osv.except_osv(description, details)
> except_osv: (u'Webkit render!', u'\n\nTraceback (most recent call last):\n
> File
> "/home/elbati/workspace/openerp/7.0/addons/report_webkit/webkit_report.py",
> line 266, in create_single_pdf\n **self.parser_instance.localcontext)\n
> File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in
> render\n return runtime._render(self, self.callable_, args, data)\n
> File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 766, in
> _render\n **_kwargs_for_callable(callable_, data))\n File
> "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 798, in
> _render_context\n _exec_template(inherit, lclcontext, args=args,
> kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py",
> line 824, in _exec_template\n callable_(context, *args, **kwargs)\n
> File "memory:0xb400966cL", line 82, in render_body\n <div
> class="act_as_cell " style="width:
> 30px;">${formatLang(line.invoice_id.registration_date,
> date=True)|entity}</div>\n File
> "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py", line 486,
> in __getattr__\n raise AttributeError(e)\nAttributeError: "Field
> \'registration_date\' does not exist in object
> \'browse_record(account.invoice, 1)\'"\n')
>
>
> Il campo 'registration_date' era introdotto dal modulo
> 'account_invoice_entry_date'. Ne esiste una versione per la 7.0?
> --
>
> https://code.launchpad.net/~icsergio/openobject-italia/remake-vat-registries/+merge/152598
> You are the owner of lp:~icsergio/openobject-italia/remake-vat-registries.
>
--
https://code.launchpad.net/~icsergio/openobject-italia/remake-vat-registries/+merge/152598
Your team OpenERP Italia core devs is subscribed to branch lp:openobject-italia/7.0.
References