[IMP] delivery, sale_loyalty, project: adapt for milk

This commit adapts the spacing between the buttons in the
sale_order_views to fit with Milk.

project: layout fixes:
- Fixed kog displaying on top of the project status button
- Fixed the flickering in project updates when selecting rows in list
view

task-2818586

Part-of: odoo/odoo#116641
This commit is contained in:
Brieuc-brd
2023-05-12 22:59:21 +02:00
committed by Pierre Paridans
parent 3e5a012ebf
commit 8a2875bb38
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<field name="recompute_delivery_price" invisible="1"/>
</field>
<group name="note_group" position="before">
<div class="oe_right">
<div class="oe_right mb-2 ms-1">
<button
string="Add shipping"
name="action_open_delivery_wizard"
@@ -10,10 +10,10 @@
<t t-name="project.ProjectControlPanelContent" owl="1">
<t t-if="showProjectUpdate">
<div t-if="isProjectUser" class="o_project_updates_breadcrumb" t-on-click="onStatusClick">
<div t-if="isProjectUser" class="o_project_updates_breadcrumb z-index-1" t-on-click="onStatusClick">
<t t-call="project.ProjectControlPanelContentBadge"></t>
</div>
<div t-else="" class="o_project_updates_breadcrumb">
<div t-else="" class="o_project_updates_breadcrumb z-index-1">
<t t-call="project.ProjectControlPanelContentBadge"></t>
</div>
</t>
@@ -8,7 +8,7 @@
<field name="priority">10</field>
<field name="arch" type="xml">
<group name="note_group" position="before">
<div class="oe_right">
<div class="oe_right d-flex gap-1 mb-2 ms-1">
<button name="%(sale_loyalty.sale_loyalty_coupon_wizard_action)d" class="btn btn-secondary"
string="Coupon Code" type="action" states="draft,sent,sale"/>
<button name="action_open_reward_wizard" class="btn btn-secondary"
@@ -3,7 +3,7 @@
<t t-name="web.CogMenu" owl="1">
<div t-if="hasItems" class="o_cp_action_menus d-flex align-items-center pe-2 gap-1">
<Dropdown class="'lh-1'" togglerClass="'d-print-none btn p-0 ms-1 lh-sm'" menuClass="'lh-base'">
<Dropdown class="'lh-1'" togglerClass="'d-print-none btn p-0 ms-1 lh-sm border-0'" menuClass="'lh-base'">
<t t-set-slot="toggler">
<i class="fa fa-cog"/>
</t>