Added Total field in Depreciation tab

bzr revid: bde@tiny2-desktop-20110524075102-b615q64yi14m51bf
This commit is contained in:
bde 2011-05-24 13:21:02 +05:30
parent a2ffcb5888
commit bd4eb0d0ea
2 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,6 @@ class account_asset_asset(osv.osv):
}, context)
def _amount_total(self, cr, uid, ids, name, args, context={}):
#FIXME: function not working²
id_set=",".join(map(str,ids))
cr.execute("""SELECT l.asset_id,abs(SUM(l.debit-l.credit)) AS amount FROM
account_move_line l

View File

@ -77,6 +77,7 @@
<field name="method_period" attrs="{'invisible':[('method_time','=','end')]}"/>
<field name="prorata" colspan="1"/>
<field name="method_delay"/>
<field name="value_total"/>
<newline/>
</page>
<page string="Depreciation board">