Files
odoo_source/addons/mail/views/mail_guest_views.xml
T
Louis Wicket (wil) 80d74e7ee0 [IMP] mail, web, *: add support for guest users
* = crm_livechat, hr, hr_holidays, im_livechat, mail_bot, purchase, sms,
    snailmail, survey, test_discuss_full, test_mail, web_editor, website,
    website_livechat

 - Create new model `mail.guest` for guests.
 - Rewrite some RPCs to target routes rather than model methods so that
   guests are able to use them.
 - Patch JS and python models to support guests.
 - Create a stand-alone page and boot the channel in it.

task-2494829

closes odoo/odoo#75496

Related: odoo/enterprise#20417
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-09-02 00:43:34 +00:00

26 lines
785 B
XML

<?xml version="1.0"?>
<odoo>
<record id="mail_guest_view_tree" model="ir.ui.view">
<field name="name">mail.guest.tree</field>
<field name="model">mail.guest</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<tree string="Guest">
<field name="id"/>
<field name="name"/>
<field name="country_id"/>
<field name="lang"/>
<field name="timezone"/>
</tree>
</field>
</record>
<record id="mail_guest_action" model="ir.actions.act_window">
<field name="name">User Settings</field>
<field name="res_model">mail.guest</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>