Files
dn20/ai_website_appointment_sale/views/appointment_templates_appointments.xml
2026-11-08 20:08:53 +08:00

11 lines
523 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="appointments_cards" inherit_id="website_appointment_sale.appointments_cards">
<!-- Use _resolve_product_combination_info to support both HTTP and AI flows
where the request object may not be available. -->
<xpath expr="//t[@t-set='combination_info']" position="replace">
<t t-set="combination_info" t-value="appointment.product_id._resolve_product_combination_info().get(appointment.product_id.id, {})"/>
</xpath>
</template>
</odoo>