← Back to team overview

openerp-india team mailing list archive

[Bug 935469] Re: Several bug account_asset 1.

 

Related to this first bug, on 
http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account_asset/report/account_asset_report.py

lines 53 and 80 you are converting string to date. No needed if field is correctly defined:
 to_date(dl.depreciation_date, 'YYYY-MM-DD') as depreciation_date,

Just enough setting dl.depreciation_date

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/935469

Title:
  Several bug account_asset 1.

Status in OpenERP Addons (modules):
  New

Bug description:
  
  http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account_asset/account_asset.py line 340. There is a data field defined as char. 

         'depreciation_date': fields.char('Depreciation Date', size=64,
  select=1),

  This is causing several problems on selecting the correct period where
  data is located on wizard compute assets. No account moves are created
  sometimes for several assets

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/935469/+subscriptions


References