hunk.code_window:             #check if new moves needs to be exploded
               if to_explode_again_ids:
                   for new_move in self.browse(cr, uid, to_explode_again_ids, context=context):
                       processed_ids.extend(self._action_explode(cr, uid, new_move, context=context))
           #return list of newly created move or the move id otherwise
           return processed_ids or [move.id]
       def action_confirm(self, cr, uid, ids, context=None):
           move_ids = []
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:             #delete the move with original product which is not relevant anymore
               move_obj.unlink(cr, SUPERUSER_ID, [move.id], context=context)
  
hunk.file_path: addons/mrp/stock.py
hunk.type: add
file: <?xml version="1.0" encoding="utf-8"?>
  <openerp>
  <data noupdate="1">
  
      <record id="hr_applicant_comp_rule" model="ir.rule">
          <field name="name">Applicant multi company rule</field>
          <field name="model_id" ref="model_hr_applicant"/>
          <field eval="True" name="global"/>
          <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
      </record>
  
      <record id="base.group_hr_user" model="res.groups">
          <field name="implied_ids" eval="[(4, ref('base.group_survey_user'))]"/>
      </record>
  
    </data>
  </openerp>
  