← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 772334] Re: division by zero error

 

Hello ,

Our R&D Teams are focused on the latest OpenERP version, and this issue
does not affect it.

Thanks.


** Changed in: openobject-addons
     Assignee: (unassigned) => Cristian Salamea (Gnuthink) (ovnicraft)

-- 
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/772334

Title:
  division by zero error

Status in OpenERP Modules (addons):
  New

Bug description:
  when running compute assets wizard it threw division by zero exception 
  period_ok = ((datetime.strptime(period.date_stop, '%Y-%m-%d').month % (12 / asset.method_freq)) == 0)
  ZeroDivisionError: integer division or modulo by zero


References