<?xml version="1.0" encoding="utf-8" ?> <odoo> <record id="selfconsumption_energy_delivered_invoicing_reminder" model="mail.template" > <field name="name">Selfconsumption Energy Delivered Invoicing Reminder</field> <field name="email_from">${object.company_id.email}</field> <field name="email_to">${object.email}</field> <field name="subject" >Selfconsumption - Energy Delivered Invoicing Reminder</field> <field name="model_id" ref="energy_selfconsumption.model_energy_selfconsumption_selfconsumption" /> <field name="body_html"> <![CDATA[ <p>Hi,</br> Remember that the collective self-consumption project <b>${ object.name }</b> of the energy community <b>${ object.company_id.name }</b> must invoice on the day <b>${ ctx['next_invoicing'] }</b>.</br> It is necessary, therefore, that you enter into Odoo the energy generated in kWh during the period <b>${ ctx['first_date'] }</b> - <b>${ ctx['last_date'] }</b>.</br> To do so, go to the project file, enter the contracts view, select the contracts that must be invoiced and press the Invoice button.</br> For any questions or incidents, contact the support team; support@somcomunitats.coop.</p> ]]> </field> </record> </odoo>