asset inconsistent behavior of create and write

Bug #1244210 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

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

Tags: asset

Related branches

Amit Parik (amit-parik)
tags: added: asset
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :

Hello,

It has been Fixed in this branch: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1244210-cod

revision-id: <email address hidden>

revno: 9018.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.