← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 772334] Re: division by zero error

 

** Branch linked: lp:~bstanciu/openobject-addons/account-fixed-assets

-- 
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):
  Confirmed

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


Follow ups

References