hunk.code_window:                 docs.append(doc)
               if not candidates:
                   if data and data.get('childs'):
                       doc = self._get_pdf_line(bom_id, qty=float(data.get('quantity')), child_bom_ids=json.loads(data.get('childs')))
                   else:
                       doc = self._get_pdf_line(bom_id, unfolded=True)
                   doc['report_type'] = 'pdf'
                   doc['report_structure'] = data and data.get('report_type') or 'all'
                   docs.append(doc)
           return {
               'doc_ids': docids,
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                     doc = self._get_pdf_line(bom_id, qty=float(data.get('quantity')), unfolded=True)
  
hunk.file_path: addons/mrp/report/mrp_report_bom_structure.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  
  from . import test_buckaroo
  