← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 868954] Re: account-fixed-assets periodical processing error

 

*** This bug is a duplicate of bug 865263 ***
    https://bugs.launchpad.net/bugs/865263

** This bug has been marked a duplicate of bug 865263
   'int' object is unsubscriptable in Compute Asset

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/868954

Title:
  account-fixed-assets periodical processing error

Status in OpenERP Addons (modules):
  New

Bug description:
  Tehere are error when computing assets Accounting/Periodical
  Processing/Assets Calculation/Compute assets, if accounting period is
  defined other than month - e.g. 3month.

  Change to fix this: in account_asset.py line 806
  -      period = period_obj.browse(cr, uid, period_id[0], context=context)

  +        period_id = isinstance(period_id, list) and period_id[0] or period_id
  +        period = period_obj.browse(cr, uid, period_id, context=context)

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


References