xxx
parent
3801ae16ea
commit
c19c6f2d30
Binary file not shown.
|
@ -14,6 +14,7 @@
|
||||||
<field name="birthday"/>
|
<field name="birthday"/>
|
||||||
<field name="telephone"/>
|
<field name="telephone"/>
|
||||||
<field name="mobile"/>
|
<field name="mobile"/>
|
||||||
|
<field name="department"/>
|
||||||
</tab>
|
</tab>
|
||||||
</tabs>
|
</tabs>
|
||||||
<related>
|
<related>
|
||||||
|
|
|
@ -193,9 +193,9 @@ class Hdcase(Model):
|
||||||
for obj in self.browse(ids):
|
for obj in self.browse(ids):
|
||||||
total=0
|
total=0
|
||||||
amt=0
|
amt=0
|
||||||
fee=obj.fee
|
fee=obj.fee or 0
|
||||||
for line in obj.lines_detail:
|
for line in obj.lines_detail:
|
||||||
total+=line.total
|
total+=line.total or 0
|
||||||
amt=total+fee
|
amt=total+fee
|
||||||
vals[obj.id]={
|
vals[obj.id]={
|
||||||
"total": total,
|
"total": total,
|
||||||
|
|
Loading…
Reference in New Issue