[FIX] runbot: chatter must be after sheet

The `oe_chatter` div must be defined after a sheet, otherwise two
chatters are visible on the form. One bellow and one on the right side.
This commit is contained in:
Christophe Monniez 2023-06-22 14:53:17 +02:00 committed by xdo
parent ebb531f4a4
commit 7e92aaeae2
2 changed files with 134 additions and 131 deletions

View File

@ -5,6 +5,7 @@
<field name="model">runbot.build.error</field> <field name="model">runbot.build.error</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<sheet>
<widget name="web_ribbon" title="Test-tags" bg_color="bg-warning" attrs="{'invisible': [('test_tags', '=', False)]}"/> <widget name="web_ribbon" title="Test-tags" bg_color="bg-warning" attrs="{'invisible': [('test_tags', '=', False)]}"/>
<header> <header>
</header> </header>
@ -91,6 +92,7 @@
</group> </group>
</page> </page>
</notebook> </notebook>
</sheet>
<div class="oe_chatter"> <div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/> <field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/> <field name="message_ids" widget="mail_thread"/>

View File

@ -36,6 +36,7 @@
<field name="model">runbot.bundle</field> <field name="model">runbot.bundle</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Bundles"> <form string="Bundles">
<sheet>
<div class="oe_button_box" name="button_box"> <div class="oe_button_box" name="button_box">
</div> </div>
<group> <group>
@ -82,7 +83,7 @@
</tree> </tree>
</field> </field>
</group> </group>
</sheet>
<div class="oe_chatter"> <div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/> <field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/> <field name="message_ids" widget="mail_thread"/>