[IMP] mail: add form view for mail.guest model

before this commit, there is no form view defined for the mail.guest model and on accessing these record from Guests menu under the settings, is returning odoo generated form view.

after this commit, clean form view will be displayed on accessing the Guest menu.

closes odoo/odoo#109826

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
niyasraphy
2023-01-13 17:33:09 +01:00
parent 530cf0056c
commit c642e70bae
+22
View File
@@ -16,6 +16,28 @@
</field>
</record>
<record id="mail_guest_view_form" model="ir.ui.view">
<field name="name">mail.guest.form</field>
<field name="model">mail.guest</field>
<field name="arch" type="xml">
<form string="Guest">
<sheet>
<group>
<group>
<field name="name"/>
<field name="country_id"/>
</group>
<group>
<field name="lang"/>
<field name="timezone"/>
<field name="channel_ids" widget="many2many_tags"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="mail_guest_action" model="ir.actions.act_window">
<field name="name">Guests</field>
<field name="res_model">mail.guest</field>