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",
|
"pending_total",
|
||||||
"plan",
|
"plan",
|
||||||
"guests",
|
"guests",
|
||||||
|
"charges",
|
||||||
"booking.contact",
|
"booking.contact",
|
||||||
"booking.party.name",
|
"booking.party.name",
|
||||||
"booking.number",
|
"booking.number",
|
||||||
|
@ -923,7 +924,9 @@ class Folio(ModelSQL, ModelView):
|
||||||
"""
|
"""
|
||||||
res = []
|
res = []
|
||||||
res.append(self.get_total_accommodation())
|
res.append(self.get_total_accommodation())
|
||||||
|
print('total_accommodation > > > > ', self.get_total_accommodation())
|
||||||
res.append(self.get_total_products())
|
res.append(self.get_total_products())
|
||||||
|
print(' > > > > ', self.get_total_products())
|
||||||
res = round(sum(res), Folio.total_amount.digits[1])
|
res = round(sum(res), Folio.total_amount.digits[1])
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=6.0.77
|
version=6.0.78
|
||||||
depends:
|
depends:
|
||||||
party
|
party
|
||||||
company
|
company
|
||||||
|
|
Loading…
Reference in New Issue