bemade-addons/bemade_sports_clinic/data/sports_clinic_data.xml
Marc Durepos bcbb3bda1f bemade_sports_clinic: notify team staff of updates
Added two mail.message.subtypes to notify all followers of updates to
patient status and changes to injury fields. Added a post-migration
script to update all existing followers to subscribe to these new
subtypes.
2024-01-13 18:52:37 -05:00

23 lines
1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="subtype_patient_update" model="mail.message.subtype">
<field name="name">Patient File Update</field>
<field name="res_model">sports.patient</field>
<field name="default" eval="True"/>
<field name="description">Patient's file has been updated.</field>
<field name="internal" eval="False"/>
<field name="sequence" eval="4"/>
<field name="hidden" eval="False"/>
</record>
<record id="subtype_patient_injury_update" model="mail.message.subtype">
<field name="name">Patient Injury Status Update</field>
<field name="res_model">sports.patient.injury</field>
<field name="default" eval="True"/>
<field name="description">Patient's injury was updated.</field>
<field name="internal" eval="False"/>
<field name="sequence" eval="4"/>
<field name="hidden" eval="False"/>
</record>
</data>
</odoo>