[FIX] hr_contract: Fix kanban_state layout issue
closes odoo/odoo#36713 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -129,18 +129,10 @@
|
||||
<sheet>
|
||||
<div class="oe_button_box" name="button_box"/>
|
||||
<widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
|
||||
<div class="oe_title" name="title">
|
||||
<div class="oe_edit_only">
|
||||
<div class="float-left">
|
||||
<field name="kanban_state" widget="state_selection" class="mr-2"/>
|
||||
</div>
|
||||
<label for="name"/>
|
||||
</div>
|
||||
<h1>
|
||||
<div class="float-left oe_read_only">
|
||||
<field name="kanban_state" widget="state_selection" class="mr-2"/>
|
||||
</div>
|
||||
<field name="name" placeholder="Contract Reference"/>
|
||||
<div class="oe_title pr-0" name="title">
|
||||
<h1 class="d-flex flex-row justify-content-between">
|
||||
<field name="name" class="text-truncate" placeholder="Contract Reference"/>
|
||||
<field name="kanban_state" widget="state_selection"/>
|
||||
</h1>
|
||||
</div>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user