mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_api_rest: fix filter ield pms_api_transaction_type
This commit is contained in:
@@ -331,7 +331,7 @@ class PmsFolioService(Component):
|
||||
date=datetime.strptime(pms_account_payment_info.date, "%m/%d/%Y"),
|
||||
)
|
||||
folio_transactions = folio.payment_ids.filtered(
|
||||
lambda p: p.folio_transactions == "customer_inbound"
|
||||
lambda p: p.pms_api_transaction_type == "customer_inbound"
|
||||
)
|
||||
return folio_transactions.ids
|
||||
|
||||
|
||||
Reference in New Issue
Block a user