From f4428fde9f5480301ab3f105a4b4afe49150c8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?WEB=E8=AE=B8=E4=BD=95=E5=93=B2=5Cxuhez?= Date: Wed, 16 Aug 2023 09:25:13 +0800 Subject: [PATCH] =?UTF-8?q?gantt=E5=9B=BE=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_plan/__manifest__.py | 1 + sf_plan/static/src/scss/gannt_change.scss | 3 ++ sf_plan/views/view.xml | 63 ++++++++++++++++------- 3 files changed, 47 insertions(+), 20 deletions(-) create mode 100644 sf_plan/static/src/scss/gannt_change.scss diff --git a/sf_plan/__manifest__.py b/sf_plan/__manifest__.py index 2c965850..80a9d5fb 100644 --- a/sf_plan/__manifest__.py +++ b/sf_plan/__manifest__.py @@ -24,6 +24,7 @@ 'web.assets_qweb': [ ], 'web.assets_backend': [ + 'sf_plan/static/src/scss/gannt_change.scss' ], }, diff --git a/sf_plan/static/src/scss/gannt_change.scss b/sf_plan/static/src/scss/gannt_change.scss new file mode 100644 index 00000000..e9ffbc59 --- /dev/null +++ b/sf_plan/static/src/scss/gannt_change.scss @@ -0,0 +1,3 @@ +//.o_gantt_view .o_gantt_row_nogroup .o_gantt_pill { +// background-color: #6ec89b !important; +//} \ No newline at end of file diff --git a/sf_plan/views/view.xml b/sf_plan/views/view.xml index 9e82fd8a..3366ce49 100644 --- a/sf_plan/views/view.xml +++ b/sf_plan/views/view.xml @@ -66,12 +66,13 @@ sf.pl.plan.gantt sf.pl.plan - + @@ -80,21 +81,43 @@ -
-
-
-
    -
  • 开始时间:
  • -
  • 结束时间:
  • -
  • 坯料编号:
  • -
  • 坯料名称:
  • -
  • 数量:
  • -
  • 材质:
  • -
+
+
+
+
    +
  • + 开始时间: + +
  • +
  • + 结束时间: + +
  • +
  • + 坯料编号: + +
  • +
  • + 坯料名称: + +
  • +
  • + 数量: + +
  • +
  • + 材质: + +
  • +
  • + 状态: + +
  • +
+
-
- + @@ -113,6 +136,6 @@ parent="mrp_workorder.mrp_workorder_menu_planning" sequence="10" action="sf_pl_plan_action" - /> + />