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,61 @@
<?xml version="1.0"?>
<odoo>
<data noupdate="1">
<record id="demo_followup_line1" model="account_followup.followup.line" forcecreate="False">
<field name="name">15 Days</field>
<field name="delay">15</field>
<field name="company_id" ref="base.main_company"/>
<field name="send_email">True</field>
<field name="mail_template_id" ref="email_template_followup_1"/>
</record>
<record id="demo_followup_email_template_2" model="mail.template" forcecreate="False">
<field name="name">Second reminder followup</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="email_from">{{ object._get_followup_responsible().email_formatted }}</field>
<field name="partner_to" eval="False"/>
<field name="use_default_to" eval="True"/>
<field name="subject">{{ (object.company_id or object._get_followup_responsible().company_id).name }} Payment Reminder - {{ object.commercial_company_name }}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p>
<t t-if="object.id != object.commercial_partner_id.id">Dear <t t-out="object.name or ''"/> (<t t-out="object.commercial_partner_id.name or ''"/>),</t>
<t t-else="">Dear <t t-out="object.name or ''"/>,</t>
<br/>
We are disappointed to see that despite sending a reminder, that your account is now seriously overdue.
<br/>
It is essential that immediate payment is made, otherwise we will have to consider placing a stop on your account which means that we will no longer be able to supply your company with (goods/services). Please, take appropriate measures in order to carry out this payment in the next 8 days.
<br/>
If there is a problem with paying invoice that we are not aware of, do not hesitate to contact our accounting department, so that we can resolve the matter quickly.
<br/>
Details of due payments is printed below.
<br/>
Best Regards,
<t t-if="not is_html_empty(object._get_followup_responsible().signature)">
<br/>
<t t-out="object._get_followup_responsible().signature"/>
</t>
<t t-else="">
<br/>
--
<br/>
<t t-out="object._get_followup_responsible().name"/>
</t>
</p>
</div>
</field>
</record>
<record id="demo_followup_line2" model="account_followup.followup.line" forcecreate="False">
<field name="name">30 Days</field>
<field name="delay">30</field>
<field name="company_id" ref="base.main_company"/>
<field name="send_email">True</field>
<field name="mail_template_id" ref="account_followup.demo_followup_email_template_2"/>
</record>
<record id="action_account_followup" model="ir.actions.client">
<field name="name">Customers Statement</field>
<field name="tag">account_report_followup</field>
<field name="context">{'model': 'account.followup.report'}</field>
</record>
</data>
</odoo>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="ir_cron_follow_up" model="ir.cron">
<field name="name">Account Report Followup; Execute followup</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="nextcall" eval="(DateTime.now().replace(hour=2, minute=0) + timedelta(days=1)).strftime('%Y-%m-%d %H:%M:%S')" />
<field name="model_id" ref="model_res_partner"/>
<field name="code">model._cron_execute_followup()</field>
<field name="state">code</field>
</record>
</odoo>
+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<odoo>
<!-- Mail template is done in a NOUPDATE block
so users can freely customize/delete them -->
<data noupdate="1">
<!--Email template -->
<record id="email_template_followup_1" model="mail.template">
<field name="name">Payment Reminder</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="email_from">{{ object._get_followup_responsible().email_formatted }}</field>
<field name="partner_to" eval="False"/>
<field name="use_default_to" eval="True"/>
<field name="subject">{{ (object.company_id or object._get_followup_responsible().company_id).name }} Payment Reminder - {{ object.commercial_company_name }}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p>
<t t-if="object.id != object.commercial_partner_id.id">Dear <t t-out="object.name or ''"/> (<t t-out="object.commercial_partner_id.name or ''"/>),</t>
<t t-else="">Dear <t t-out="object.name or ''"/>,</t>
</p>
<p>
We would like to inform you that your account shows an outstanding balance of <b><t t-out="format_amount(object.total_overdue_followup, object.currency_id) or ''"/></b>.
We kindly ask that you settle this amount within the next <b>8 days</b>.
</p>
<p t-if="object._show_pay_now_button()">
<a t-att-href="'/my/invoices/overdue'" style="padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none !important; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px">Pay now</a>
</p>
<p>
If payment has already been made, please disregard this notice.
For any questions or if you need assistance, feel free to contact our accounting department.
</p>
<p>
We appreciate your cooperation in resolving this matter.
</p>
<p>
Sincerely,
</p>
<p>
<t t-if="not is_html_empty(object._get_followup_responsible().signature)">
<t t-out="object._get_followup_responsible().signature"/>
</t>
<t t-else="">
<t t-out="object._get_followup_responsible().name"/>
</t>
</p>
</div>
</field>
<field name="lang">{{ object.lang }}</field>
<field name="auto_delete" eval="False"/>
</record>
</data>
</odoo>