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,71 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<record id="mailing_mailing_view_form_marketing_automation" model="ir.ui.view">
<field name="name">mailing.mailing.view.form.marketing.activity.inherit.sms</field>
<field name="model">mailing.mailing</field>
<field name="inherit_id" ref="marketing_automation.mailing_mailing_view_form_marketing_automation"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='mail_body']" position="attributes">
<attribute name="invisible">mailing_type != 'mail'</attribute>
</xpath>
<xpath expr="//field[@name='subject']" position="attributes">
<attribute name="invisible">mailing_type == 'sms'</attribute>
<attribute name="required">mailing_type == 'mail'</attribute>
</xpath>
<xpath expr="//field[@name='sms_subject']" position="attributes">
<attribute name="invisible">mailing_type == 'mail'</attribute>
<attribute name="required">mailing_type == 'sms'</attribute>
<attribute name="readonly">0</attribute>
</xpath>
<xpath expr="//field[@name='body_plaintext']" position="attributes">
<attribute name="readonly">mailing_type == 'mail'</attribute>
<attribute name="required">mailing_type == 'sms'</attribute>
</xpath>
<xpath expr="//field[@name='sms_allow_unsubscribe']" position="attributes">
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
<record id="mailing_mailing_view_tree_marketing_automation_sms" model="ir.ui.view" >
<field name="name">mailing.mailing.view.list.marketing.automation</field>
<field name="model">mailing.mailing</field>
<field name="inherit_id" ref="marketing_automation.mailing_mailing_view_tree_marketing_automation"/>
<field name="mode">primary</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='opened_ratio']" position="replace"/>
<xpath expr="//field[@name='replied_ratio']" position="replace"/>
<xpath expr="//field[@name='subject']" position="attributes">
<attribute name="column_invisible">True</attribute>
</xpath>
<xpath expr="//field[@name='subject']" position="after">
<field name="sms_subject"/>
</xpath>
</field>
</record>
<record id="mass_mailing_sms.mailing_mailing_action_sms" model="ir.actions.act_window">
<field name="domain">['&amp;', ('mailing_type', '=', 'sms'), ('use_in_marketing_automation', '=', False)]</field>
</record>
<record id="mail_mass_mailing_action_marketing_automation_sms" model="ir.actions.act_window">
<field name="name">Marketing Automation SMS</field>
<field name="res_model">mailing.mailing</field>
<field name="view_mode">list,form,graph</field>
<field name="domain">[('use_in_marketing_automation', '=', True)]</field>
</record>
<record id="mail_mass_mailing_action_marketing_automation_sms_tree" model="ir.actions.act_window.view">
<field name="sequence">1</field>
<field name="view_mode">list</field>
<field name="act_window_id" ref="mail_mass_mailing_action_marketing_automation_sms"/>
<field name="view_id" ref="mailing_mailing_view_tree_marketing_automation_sms"/>
</record>
<record id="mail_mass_mailing_action_marketing_automation_sms_form" model="ir.actions.act_window.view">
<field name="sequence">2</field>
<field name="view_mode">form</field>
<field name="act_window_id" ref="mail_mass_mailing_action_marketing_automation_sms"/>
<field name="view_id" ref="marketing_automation.mailing_mailing_view_form_marketing_automation"/>
</record>
</odoo>
@@ -0,0 +1,14 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<record id="mailing_trace_view_form_sms" model="ir.ui.view">
<field name="name">mailing.trace.view.form.sms.inherit.marketing.automation</field>
<field name="model">mailing.trace</field>
<field name="inherit_id" ref="mass_mailing_sms.mailing_trace_view_form_sms"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='mass_mailing_id']" position="after">
<field name="marketing_trace_id"
invisible="not marketing_trace_id"/>
</xpath>
</field>
</record>
</odoo>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="marketing_activity_view_form" model="ir.ui.view">
<field name="name">marketing.activity.view.form</field>
<field name="model">marketing.activity</field>
<field name="inherit_id" ref="marketing_automation.marketing_activity_view_form"/>
<field name="arch" type="xml">
<xpath expr="//label[@for='mass_mailing_id']" position="after">
<label for="mass_mailing_id" string="SMS Template" invisible="activity_type != 'sms'"/>
</xpath>
<xpath expr="//field[@name='mass_mailing_id']" position="attributes">
<attribute name="invisible">activity_type not in ['email', 'sms']</attribute>
</xpath>
</field>
</record>
</odoo>
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="marketing_campaign_view_form" model="ir.ui.view">
<field name="name">marketing.campaign.view.form</field>
<field name="model">marketing.campaign</field>
<field name="inherit_id" ref="marketing_automation.marketing_campaign_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='mail_details']" position="after">
<div t-if="record.activity_type.raw_value == 'sms'" name="sms_details" class="row o_ma_email_details text-center">
<div class="col text-uppercase">
<i class="fa fa-pie-chart" /> Details
</div>
<a name="action_view_sent" class="col" title="SMS Sent" type="object">
<field name="total_sent" class="fw-bold"/> Sent
</a>
<a name="action_view_opened" class="col" type="object">
<strong><t t-esc="Math.round((record.total_open.raw_value/(record.total_sent.raw_value or 1)) * 100) or 0" />%</strong> Opened
</a>
<a name="action_view_clicked" class="col" type="object">
<strong><t t-esc="Math.round((record.total_click.raw_value/(record.total_sent.raw_value or 1)) * 100) or 0" />%</strong> Clicked
</a>
</div>
</xpath>
<xpath expr="//div[hasclass('o_ma_child_activity_buttons')]" position="inside">
<t t-if="record.activity_type.raw_value == 'sms'">
<i data-trigger-type="sms_click" class="fa fa-hand-pointer-o o_ma_text_processed o_add_child_activity text-success"
title="Clicked" role="img" aria-label="Clicked" />
<i data-trigger-type="sms_not_click" class="fa fa-hand-pointer-o o_ma_text_rejected o_add_child_activity text-danger"
title="Not Clicked" role="img" aria-label="Not Clicked" />
<i data-trigger-type="sms_bounce" class="fa fa fa-exclamation-circle o_ma_text_rejected o_add_child_activity text-danger"
title="Bounced" role="img" aria-label="Bounced" />
</t>
</xpath>
<xpath expr="//div[hasclass('o_ma_interval')]" position="before">
<div t-if="record.trigger_type.raw_value == 'sms_click'" class="o_ma_text_processed text-success">
<i class="fa fa-hand-pointer-o" /> Clicked after
</div>
<div t-if="record.trigger_type.raw_value == 'sms_not_click'" class="o_ma_text_rejected text-danger">
<i class="fa fa-hand-pointer-o" /> Not clicked within
</div>
<div t-if="record.trigger_type.raw_value == 'sms_bounce'" class="o_ma_text_rejected text-danger">
<i class="fa fa-exclamation-circle" /> Bounced after
</div>
</xpath>
<xpath expr="//div[hasclass('o_ma_icon')]/span" position="after">
<span class="fa fa-mobile fs-2" t-elif="record.activity_type.raw_value == 'sms'" title="SMS" role="img" aria-label="SMS"/>
</xpath>
<xpath expr="//button[@name='action_view_mailings']" position="after">
<button name="action_view_sms" type="object" icon="fa-mobile" class="oe_stat_button"
invisible="mailing_sms_count == 0">
<field name="mailing_sms_count" widget="statinfo" string="SMS"/>
</button>
</xpath>
</field>
</record>
<record id="marketing_campaign_view_tree" model="ir.ui.view">
<field name="name">marketing.campaign.view.list.inherit.marketing.automation.sms</field>
<field name="model">marketing.campaign</field>
<field name="inherit_id" ref="marketing_automation.marketing_campaign_view_tree"/>
<field name="arch" type="xml">
<field name="mass_mailing_count" position="after">
<field name="mailing_sms_count" string="SMS"/>
</field>
</field>
</record>
</odoo>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="marketing_participant_view_form" model="ir.ui.view">
<field name="name">marketing.participant.view.form</field>
<field name="model">marketing.participant</field>
<field name="inherit_id" ref="marketing_automation.marketing_participant_view_form"/>
<field name="arch" type="xml">
<xpath expr="//span[hasclass('o_ma_type')]/i" position="after">
<i class="fa fa-comment pe-1" t-elif="record.activity_type.raw_value == 'sms'" title="SMS" role="img" aria-label="SMS"/>
</xpath>
</field>
</record>
</odoo>