mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-api-rest: old calendar reselling False if is None
This commit is contained in:
committed by
Darío Lodeiros
parent
3153ef4f83
commit
922669c0f6
@@ -192,7 +192,7 @@ class PmsCalendarService(Component):
|
||||
nextLineSplitted=next_line_splitted,
|
||||
previousLineSplitted=previous_line_splitted,
|
||||
closureReasonId=line["closure_reason_id"],
|
||||
isReselling=line["is_reselling"],
|
||||
isReselling=line["is_reselling"] if line["is_reselling"] else False,
|
||||
)
|
||||
)
|
||||
return result_lines
|
||||
|
||||
Reference in New Issue
Block a user