mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] pms_api_rest: refact payment info datamodel
This commit is contained in:
committed by
Darío Lodeiros
parent
9faa3155d6
commit
fffed128dd
@@ -153,7 +153,9 @@ class PmsAccountPaymentService(Component):
|
||||
balance=statement.balance_start if isOpen else statement.balance_end_real,
|
||||
dateTime=statement.create_date.strftime("%d/%m/%Y")
|
||||
if isOpen
|
||||
else statement.date_done.strftime("%d/%m/%Y"),
|
||||
else statement.date_done.strftime("%d/%m/%Y")
|
||||
if statement.date_done
|
||||
else None,
|
||||
)
|
||||
|
||||
@restapi.method(
|
||||
|
||||
Reference in New Issue
Block a user