mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]14.0-pms_api_rest: format date in refund service
This commit is contained in:
@@ -414,7 +414,7 @@ class PmsFolioService(Component):
|
|||||||
reservations=False,
|
reservations=False,
|
||||||
services=False,
|
services=False,
|
||||||
partner=partner_id,
|
partner=partner_id,
|
||||||
date=datetime.strptime(pms_account_payment_info.date, "%m/%d/%Y"),
|
date=datetime.strptime(pms_account_payment_info.date, "%Y-%m-%d"),
|
||||||
ref=pms_account_payment_info.reference,
|
ref=pms_account_payment_info.reference,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user