c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24338
Re: [Bug 772334] Re: division by zero error
Dear Bogdan,
Yes, it is present in your branch.
To reproduce: register a new asset with "frequency of writing set to
zero", then compute asset depreciation.
Thanks,
--- On Mon, 5/9/11, Bogdan Stanciu <bogdanovidiu.stanciu@xxxxxxxxx>
wrote:
From: Bogdan Stanciu <bogdanovidiu.stanciu@xxxxxxxxx>
Subject: Re: [Bug 772334] Re: division by zero error
To: gaafer5@xxxxxxxxx
Date: Monday, May 9, 2011, 11:56 PM
On 09. 05. 11 09:28, Mohammed wrote:
> ** Branch linked: lp:~bstanciu/openobject-addons/account-fixed-assets
>
Mohammed,
Does this means that the bug is present in my branch?
how do you get it? please detail your steps.
thank you,
bogdan
--
You received this bug notification because you are a direct subscriber
of the bug.
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
To unsubscribe from this bug, go to:
https://bugs.launchpad.net/openobject-addons/+bug/772334/+subscribe
--
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