From 09684020c3088cd08b0775e742f85228ae6cf1af Mon Sep 17 00:00:00 2001 From: Carolina Fernandez Date: Sat, 18 May 2024 14:31:22 +0200 Subject: [PATCH] [16.0][FIX] resource_booking: Two fields with same label Activities --- resource_booking/i18n/es.po | 6 +++++- resource_booking/i18n/resource_booking.pot | 6 +++++- resource_booking/models/resource_booking.py | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/resource_booking/i18n/es.po b/resource_booking/i18n/es.po index 1c7b62f4..404f8fc6 100644 --- a/resource_booking/i18n/es.po +++ b/resource_booking/i18n/es.po @@ -203,7 +203,6 @@ msgstr "Activo" #. module: resource_booking #: model:ir.model.fields,field_description:resource_booking.field_resource_booking__activity_ids -#: model:ir.model.fields,field_description:resource_booking.field_resource_booking__booking_activity_ids #: model:ir.model.fields,field_description:resource_booking.field_resource_booking_type__activity_ids msgid "Activities" msgstr "Actividades" @@ -302,6 +301,11 @@ msgstr "Combinaciones de recursos reservables" msgid "Booking" msgstr "Reserva" +#. module: resource_booking +#: model:ir.model.fields,field_description:resource_booking.field_resource_booking__booking_activity_ids +msgid "Booking Activities" +msgstr "Actividades de reserva" + #. module: resource_booking #: model:ir.model.fields,field_description:resource_booking.field_resource_booking_type__booking_count msgid "Booking Count" diff --git a/resource_booking/i18n/resource_booking.pot b/resource_booking/i18n/resource_booking.pot index c9485316..110b110c 100644 --- a/resource_booking/i18n/resource_booking.pot +++ b/resource_booking/i18n/resource_booking.pot @@ -184,7 +184,6 @@ msgstr "" #. module: resource_booking #: model:ir.model.fields,field_description:resource_booking.field_resource_booking__activity_ids -#: model:ir.model.fields,field_description:resource_booking.field_resource_booking__booking_activity_ids #: model:ir.model.fields,field_description:resource_booking.field_resource_booking_type__activity_ids msgid "Activities" msgstr "" @@ -281,6 +280,11 @@ msgstr "" msgid "Booking" msgstr "" +#. module: resource_booking +#: model:ir.model.fields,field_description:resource_booking.field_resource_booking__booking_activity_ids +msgid "Booking Activities" +msgstr "" + #. module: resource_booking #: model:ir.model.fields,field_description:resource_booking.field_resource_booking_type__booking_count msgid "Booking Count" diff --git a/resource_booking/models/resource_booking.py b/resource_booking/models/resource_booking.py index ae70195e..2827abc3 100644 --- a/resource_booking/models/resource_booking.py +++ b/resource_booking/models/resource_booking.py @@ -252,7 +252,7 @@ class ResourceBooking(models.Model): tracking=True, ) booking_activity_ids = fields.One2many( - "mail.activity", "booking_id", string="Activities" + "mail.activity", "booking_id", string="Booking Activities" ) @api.depends("partner_ids")