chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

@@ -0,0 +1,15 @@
import { AttendeeCalendarController } from "@calendar/views/attendee_calendar/attendee_calendar_controller";
import { patch } from "@web/core/utils/patch";
patch(AttendeeCalendarController.prototype, {
/**
* Add the opportunity name from which the user came from if
* there is one
*/
getOpportunityName() {
if (!this.props.context.default_opportunity_id) {
return undefined;
}
return this.props.context.default_name;
},
});
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<t t-name="appointment_crm.AppointmentCrmCalendarController" t-inherit="calendar.AttendeeCalendarController" t-inherit-mode="extension">
<xpath expr="//span[@t-if='appointmentState.lastAppointment.url and !appointmentState.lastAppointment.waitingCopyLinkCustomType']" position="after">
<p t-elif="getOpportunityName()" class="mx-2 user-select-none">
Click in your calendar to pick meeting time proposals for <b t-esc="getOpportunityName()"/>
</p>
</xpath>
</t>
</templates>