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

Module: Stock Picking Batch Print Pickings

Entity: stock.picking.batch

Compute Method: _compute_print_documents

Inputs Method Outputs
  • picking_type_id
  • picking_type_id.print_documents_from_batch
  • picking_type_id.number_copies_pickings
  • picking_ids
for record in self:
            record.print_documents = (
                record.picking_type_id.print_documents_from_batch
                and record.picking_type_id.number_copies_pickings
                and record.picking_ids
            )

Back to entity