add cenhomes addons
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="custom_sms_form_tiennv" model="ir.ui.view">
|
||||
<field name="name">sms.composer.views.inherit.sms_custom</field>
|
||||
<field name="model">sms.composer</field>
|
||||
<field name="inherit_id" ref="sms.sms_composer_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='composition_mode']" position="after">
|
||||
<field name="res_id"/>
|
||||
</xpath>
|
||||
<xpath expr="//footer//button[@name='action_send_sms']" position="replace">
|
||||
<button string="Send SMS ZNS" type="object" class="oe_highlight" name="action_send_sms_zns" data-hotkey="q"
|
||||
attrs="{'invisible': ['|',('composition_mode', 'not in', ('comment', 'numbers')),('recipient_single_valid', '=', False)]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,16 @@
|
||||
<odoo>
|
||||
<!-- <data>-->
|
||||
<!-- <t t-name="sms.SendSMSButton.custom" t-inherit="sms.SendSMSButton" t-inherit-mode="primary">-->
|
||||
<!-- <xpath expr="//a" position="after">-->
|
||||
<!-- <a-->
|
||||
<!-- t-att-title="title"-->
|
||||
<!-- t-att-href="phoneHref"-->
|
||||
<!-- t-on-click.prevent.stop="onClick"-->
|
||||
<!-- class="ms-3 d-inline-flex align-items-center o_field_phone_sms">-->
|
||||
<!-- <i class="fa fa-mobile"></i>-->
|
||||
<!-- <small class="fw-bold ms-1">SMS ZNS</small>-->
|
||||
<!-- </a>-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </t>-->
|
||||
<!-- </data>-->
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user