mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]fixed not manually journals in folio payment
This commit is contained in:
@@ -964,7 +964,9 @@ class PmsFolio(models.Model):
|
||||
}
|
||||
record.update(vals)
|
||||
else:
|
||||
journals = record.pms_property_id._get_payment_methods()
|
||||
journals = record.pms_property_id._get_payment_methods(
|
||||
automatic_included=True
|
||||
)
|
||||
paid_out = 0
|
||||
for journal in journals:
|
||||
paid_out += sum(
|
||||
|
||||
Reference in New Issue
Block a user