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

Module: Inventory

Entity: product.product

Compute Method: _compute_show_qty_status_button

Inputs Method Outputs
  • product_tmpl_id
  • product_tmpl_id.show_on_hand_qty_status_button
  • product_tmpl_id.show_forecasted_qty_status_button
for product in self:
            product.show_on_hand_qty_status_button = product.product_tmpl_id.show_on_hand_qty_status_button
            product.show_forecasted_qty_status_button = product.product_tmpl_id.show_forecasted_qty_status_button

Back to entity