[FIX] web: status_indicator: 'unable to save' not aligned
Before this commit, the warning message was below the buttons. Steps to reproduce: - Accounting -> Configuration -> Payment Providers - Select one of them (e.g. Stripe) - Change the state to 'Test Mode' - Try to save Task-ID: 3106197 Related PR: https://github.com/odoo/odoo/pull/107227 closes odoo/odoo#108411 X-original-commit: 94f8c4875e3c79709450986ba03e7dee6cb60afe Signed-off-by: Romeo Fragomeli (rfr) <rfr@odoo.com> Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="web.FormStatusIndicator" owl="1">
|
||||
<div class="o_form_status_indicator ms-md-1" t-att-class="{ o_form_status_indicator_new_record: props.model.root.isVirtual }">
|
||||
<div class="o_form_status_indicator d-md-flex ms-md-1" t-att-class="{ o_form_status_indicator_new_record: props.model.root.isVirtual }">
|
||||
<div class="o_form_status_indicator_buttons d-flex" t-att-class="{ invisible: !(props.model.root.isVirtual or displayButtons) }">
|
||||
<button
|
||||
type="button"
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
<span
|
||||
t-if="!props.model.root.isVirtual and indicatorMode === 'invalid'"
|
||||
class="text-danger ms-2"
|
||||
class="text-danger small ms-2"
|
||||
data-tooltip="Correct issues to save, or discard changes">
|
||||
<i class="fa fa-warning" />
|
||||
Unable to save
|
||||
|
||||
Reference in New Issue
Block a user