diff --git a/static/src/js/operation_graph.js b/static/src/js/operation_graph.js index 4ff520d1ba2f075cb4230481c26801399fb21326..9c844e6f0c26759ef90a5c93ace5a00a6cb5afbd 100644 --- a/static/src/js/operation_graph.js +++ b/static/src/js/operation_graph.js @@ -65,8 +65,14 @@ odoo.define('enercoop_cdc.operation_graph', function (require) { text: 'Date' } }] + }, + elements: { + point:{ + radius: 0 } - }}; + } + }, + }; } var options = { options: { scales: { diff --git a/views/enercoop_operation_views.xml b/views/enercoop_operation_views.xml index 170cb9ad5d7bca1c8acfcb9ffa86b570f041fb5b..e542a583663e1600290bfc6a6f4c8fa8367e46c2 100644 --- a/views/enercoop_operation_views.xml +++ b/views/enercoop_operation_views.xml @@ -13,7 +13,7 @@ type="object" class="btn-primary" name="action_view_courbes" - attrs="{'invisible':[('date_start_contract', '=', False)]}"/> + attrs="{'invisible':[('enercoop_enedis_cdc_ids', '=', [])]}"/> </header> </field> </record>