mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_l10n_es: fix domain in compute creation ses communication
This commit is contained in:
@@ -81,9 +81,8 @@ class PmsReservation(models.Model):
|
|||||||
self.create_communication(
|
self.create_communication(
|
||||||
reservation.id, DELETE_OPERATION_CODE, "RH"
|
reservation.id, DELETE_OPERATION_CODE, "RH"
|
||||||
)
|
)
|
||||||
elif (
|
elif vals["state"] != "cancel" and (
|
||||||
vals["state"] != "cancel"
|
last_communication.operation == DELETE_OPERATION_CODE
|
||||||
and last_communication.operation == DELETE_OPERATION_CODE
|
|
||||||
or not last_communication
|
or not last_communication
|
||||||
):
|
):
|
||||||
self.create_communication(
|
self.create_communication(
|
||||||
|
|||||||
Reference in New Issue
Block a user