Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] ddmrp: Reduce the size of demand and supply charts #365

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions ddmrp/models/stock_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def _compute_ddmrp_demand_supply_chart(self):
y_mrp = list(mrp_data.values())

p = figure(
frame_width=500,
frame_width=450,
frame_height=400,
y_axis_label="Quantity",
x_axis_type="datetime",
Expand Down Expand Up @@ -903,7 +903,7 @@ def _compute_ddmrp_demand_supply_chart(self):
y_supply = list(supply_data.values())

p = figure(
frame_width=500,
frame_width=450,
frame_height=400,
y_axis_label="Quantity",
x_axis_type="datetime",
Expand Down
2 changes: 0 additions & 2 deletions ddmrp/views/stock_buffer_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@
<div style="margin-top: 1em;">
<field
name="ddmrp_supply_chart"
style="height:400px"
widget="bokeh_chart"
nolabel="1"
/>
Expand All @@ -487,7 +486,6 @@
<div style="margin-top: 1em;">
<field
name="ddmrp_demand_chart"
style="height:400px"
widget="bokeh_chart"
nolabel="1"
/>
Expand Down