Fix
This commit is contained in:
parent
224b2c6666
commit
d2b0011070
3
folio.py
3
folio.py
|
@ -746,6 +746,7 @@ class Folio(ModelSQL, ModelView):
|
|||
"pending_total",
|
||||
"plan",
|
||||
"guests",
|
||||
"charges",
|
||||
"booking.contact",
|
||||
"booking.party.name",
|
||||
"booking.number",
|
||||
|
@ -923,7 +924,9 @@ class Folio(ModelSQL, ModelView):
|
|||
"""
|
||||
res = []
|
||||
res.append(self.get_total_accommodation())
|
||||
print('total_accommodation > > > > ', self.get_total_accommodation())
|
||||
res.append(self.get_total_products())
|
||||
print(' > > > > ', self.get_total_products())
|
||||
res = round(sum(res), Folio.total_amount.digits[1])
|
||||
return res
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.0.77
|
||||
version=6.0.78
|
||||
depends:
|
||||
party
|
||||
company
|
||||
|
|
Loading…
Reference in New Issue