← Back to team overview

openerp-dev-web team mailing list archive

Re: lp:~openerp-dev/openobject-addons/trunk-account-asset-prorata_temporis_impl-uco into lp:~openerp-dev/openobject-addons/trunk-account-asset

 

Review: Needs Fixing
depreciation_date = datetime(year + (month / 12), (month % 12 or 1), day)=> depreciation_date = datetime(year + (month / 12), (month % 12 or 12), day)

days = float(total_days) - float(depreciation_date.strftime('%j')) => no need to convert total_days in to float.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account-asset-prorata_temporis_impl-uco/+merge/61402
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-account-asset.


References