Added Total field in Depreciation tab
bzr revid: bde@tiny2-desktop-20110524075102-b615q64yi14m51bf
This commit is contained in:
parent
a2ffcb5888
commit
bd4eb0d0ea
|
@ -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
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue