mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-api-rest: fix patch reservation update
This commit is contained in:
committed by
Darío Lodeiros
parent
a772290c77
commit
8387719e58
@@ -2,6 +2,7 @@ from marshmallow import fields
|
||||
|
||||
from odoo.addons.datamodel.core import Datamodel
|
||||
|
||||
|
||||
class PmsReportInfo(Datamodel):
|
||||
_name = "pms.report.info"
|
||||
pdf = fields.String(required=False, allow_none=True)
|
||||
|
||||
@@ -136,6 +136,7 @@ class PmsReservationService(Component):
|
||||
reservation_vals.update(
|
||||
{"segmentation_ids": [(6, 0, [reservation_data.segmentationId])]}
|
||||
)
|
||||
return reservation_vals
|
||||
|
||||
@restapi.method(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user