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