← Back to team overview

openerp-india team mailing list archive

[Bug 1244210] Re: asset inconsistent behavior of create and write

 

** Tags added: asset

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
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/1244210

Title:
  asset inconsistent behavior of create and write

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  create computes the depreciation table, write not this is not user
  friendly and leaves data in inconsistent state

  missing code
      def write(self, cr, uid, ids, vals, context=None):
          result = super(account_asset_asset, self).write(cr, uid, ids, vals, context=context)
          self.compute_depreciation_board(cr, uid, ids, context=context)
          return result

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


References