You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
502 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2017 Specialty Medical Drugstore
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
  4. <odoo>
  5. <template id="channel_page" inherit_id="website_livechat.channel_page" >
  6. <xpath expr="//div[@class='media-body']/h5/t" position="replace">
  7. <t t-if="user.partner_id.firstname" t-esc="user.partner_id.firstname" />
  8. <t t-else="" t-esc="user.partner_id.name" />
  9. </xpath>
  10. </template>
  11. </odoo>