Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: DDMRP

Entity: stock.buffer

Compute Method: _compute_ddmrp_chart_planning

View 18.0 View 19.0
Inputs Method Outputs
+ """This method use the Bokeh library to create a buffer depiction."""
+ for rec in self:
+             div, script = rec.get_ddmrp_chart_planning()
+             json_data = json.dumps(
+                 {
+                     "div": div,
+                     "script": script,
+                 }
+             )
+             rec.ddmrp_chart = json_data
  • ddmrp_chart

Back to entity