This commit is contained in:
oscar alvarez 2022-03-22 14:45:43 -05:00
parent 7c3e2a72ce
commit e30c38f8fe
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class Folio(ModelSQL, ModelView):
res = []
amount_nights = 0
if self.nights_quantity and self.unit_price_w_tax:
amount_nights = [self.nights_quantity * self.unit_price_w_tax]
amount_nights = self.nights_quantity * self.unit_price_w_tax
if name == 'total_amount' or (name == 'total_balance' and not self.invoice_line):
res.append(amount_nights)
for charge in self.charges: