Skip to content
Snippets Groups Projects
Commit da57d9bf authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

[IMP] energy_selfconsumption: removed uneded project name

parent 68468c3f
No related branches found
No related tags found
2 merge requests!277[REL] Release Sprint 27/11/23,!246[IMP] energy_selfconsumption: send invoicing reminder for energy delivered projects.
......@@ -17,7 +17,7 @@
<field name="body_html">
<![CDATA[
<p>Hi,</br>
Remember that the collective self-consumption project <b>${ ctx['project_name'] }</b> of the energy community <b>${ object.project_id.company_id.name }</b> must invoice on the day <b>${ ctx['next_invoicing'] }</b>.</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>
......
......@@ -295,7 +295,6 @@ class Selfconsumption(models.Model):
next_invoicing = last_date + timedelta(days=1)
ctx = {
"project_name": project_name,
"next_invoicing": next_invoicing.strftime("%d-%m-%Y"),
"first_date": first_date.strftime("%d-%m-%Y"),
"last_date": last_date.strftime("%d-%m-%Y"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment