** Changed in: openobject-italia
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1168323

Title:
  l10n_it_vat_registries :  Divisione per zero causata da IVA non
  detraibile

Status in OpenERP Italia:
  Fix Released

Bug description:
  Discussione Forum da cui è partito il bug: http://www.openerp-
  italia.org/index.php/kunena/29-moduli/10974-webkit-errore-nella-
  stampa-dei-registri-iva

  Il bug (sembra) che si presenti per i valori di iva indetraibile
  (anche se non ne sono convinto) .... L'errore riportato è:

  <code>
  Traceback (most recent call last):
  File "/opt/openerp/6/openerp/openerp/addons/report_webkit/webkit_report.py", 
line 258, in create_single_pdf
  **self.parser_instance.localcontext)
  File "/usr/lib/python2.6/site-packages/mako/template.py", line 189, in render
  return runtime._render(self, self.callable_, args, data)
  File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 403, in _render
  _render_context(template, callable_, context, *args, 
**_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 434, in 
_render_context
  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 457, in 
_exec_template
  callable_(context, *args, **kwargs)
  File "memory:0x7fc8b3f0ce50", line 42, in render_body
  %for line in tax_lines(object) :
  File 
"/opt/openerp/6/openerp/openerp/addons/l10n_it_vat_registries/invoice.py", line 
135, in _get_tax_lines
  move_line.tax_amount * 100.0) / actual_tax_amount)
  ZeroDivisionError: float division
  </code>

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

_______________________________________________
Mailing list: https://launchpad.net/~openobject-italia-core-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openobject-italia-core-devs
More help   : https://help.launchpad.net/ListHelp

Rispondere a