Files
odoo_source/addons/website_livechat/views/website_livechat_view.xml
T
fja-odoo 736353b169 [IMP] website, *: improve published smart button
* = web, website_blog, website_crm_partner_assign, website_event,
website_event_track, website_forum, website_hr_recruitment,
website_livechat, website_partner, website_profile, website_sale,
website_sale_delivery, website_slides

The published button name is a bit ambiguous, now it will clearly state
what it does with a new title : "Go to Website". The "Published",
"Unpublished" state is shown with the globe icon changing color
(green and red) and a title on the button.

Badge and Delivery don't have a website page, the button will then be
a publish/unpublish button in the backend.

task-2002435

closes odoo/odoo#34261

Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-08-08 16:05:33 +00:00

18 lines
631 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="im_livechat_channel_form_view" model="ir.ui.view">
<field name="name">im_livechat.channel.form.inherit.website_livechat</field>
<field name="model">im_livechat.channel</field>
<field name="inherit_id" ref="im_livechat.im_livechat_channel_view_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<field name="is_published" widget="website_redirect_button"/>
</div>
</field>
</record>
</data>
</odoo>