From 98103bac73cb12f0355b6b3208e546ac21a87e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E7=84=B1?= Date: Mon, 4 Mar 2024 11:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BF=85=E5=A1=AB=E6=A0=87?= =?UTF-8?q?=E8=AF=86js=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=E6=A0=87=E8=AF=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jikimo_frontend/static/src/js/custom_form_status_indicator.js | 2 +- jikimo_frontend/static/src/scss/custom_style.scss | 4 ++-- sf_maintenance/views/maintenance_views.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jikimo_frontend/static/src/js/custom_form_status_indicator.js b/jikimo_frontend/static/src/js/custom_form_status_indicator.js index 33405fc3..9825eeec 100644 --- a/jikimo_frontend/static/src/js/custom_form_status_indicator.js +++ b/jikimo_frontend/static/src/js/custom_form_status_indicator.js @@ -133,7 +133,7 @@ $(function () { var currentUrl = location.href const customRequiredDom = { - label: ['label[for=production_line_id]','label[for=date_approve]','label[for=partner_id]', 'label[for=validity_date]', '.o_horizontal[role=radiogroup]', 'label[for=vat]', 'label[for=phone]', 'label[for=mobile]', 'label[for=email]', 'label[for=category_id]','label[for=date_order]','label[for=picking_type_id]'], + label: ['label[for=production_line_id]','label[for=date_approve]','label[for=partner_id]', 'label[for=validity_date]', '.o_horizontal[role=radiogroup][aria-label="公司类别"]', 'label[for=vat]', 'label[for=phone]', 'label[for=mobile]', 'label[for=email]', 'label[for=category_id]','label[for=date_order]','label[for=picking_type_id]'], table: ['product_template_id', 'product_uom_qty', 'price_unit','product_id','product_qty'] } const listenerUrl = setInterval(() => { diff --git a/jikimo_frontend/static/src/scss/custom_style.scss b/jikimo_frontend/static/src/scss/custom_style.scss index 12e18c1c..a1605194 100644 --- a/jikimo_frontend/static/src/scss/custom_style.scss +++ b/jikimo_frontend/static/src/scss/custom_style.scss @@ -13,7 +13,7 @@ div:has(.o_required_modifier) > label::before { color: red !important; padding: 0 4px !important; vertical-align: top !important; - font-size: 1.5rem !important; + font-size: unset !important; } .my-image div { @@ -325,7 +325,7 @@ div[class="o_content o_component_with_search_panel"] .show_state span { div:has(.o_required_modifier) > label::before { position: absolute; - left: -3px; + left: 24px; } //.o_form_view .o_form_label { diff --git a/sf_maintenance/views/maintenance_views.xml b/sf_maintenance/views/maintenance_views.xml index b8ba0d7e..b6cc3cbb 100644 --- a/sf_maintenance/views/maintenance_views.xml +++ b/sf_maintenance/views/maintenance_views.xml @@ -74,8 +74,8 @@ -