← 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
we can write if condition with :

depreciation_date = line.asset_id.prorata and line.asset_id.purchase_date or time.strftime('%Y-%m-%d')

can you check and change the code accordingly.
-- 
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