← Back to team overview

openerp-india team mailing list archive

[Bug 1244210] [NEW] asset inconsistent behavior of create and write

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References