hunk.code_window:                         proc_obj.run(cr, uid, [proc], context=context)
               #delete the move with original product which is not relevant anymore
               move_obj.unlink(cr, SUPERUSER_ID, [move.id], context=context)
               #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))
  
hunk.labels: keep keep replace replace keep keep keep keep
hunk.file_path: addons/mrp/stock.py
hunk.type: replace
file: -
     Create a user as 'Stock Salesmanager'
  -
    !record {model: res.users, id: res_sale_stock_salesmanager, view: False}:
      company_id: base.main_company
      name: Stock Sales manager
      login: ssm
      password: ssm
      email: ss_salesmanager@yourcompany.com
  -
    I added groups for Salesmanager.
  -
    !record {model: res.users, id: res_sale_stock_salesmanager}:
      groups_id:
        - base.group_sale_manager
  -
     Create a user as 'Stock Salesman'
  -
    !record {model: res.users, id: res_sale_stock_salesman, view: False}:
      company_id: base.main_company
      name: Stock Salesman
      login: ssu
      password: ssu
      email: ss_salesman@yourcompany.com
  -
    I added groups for Stock Salesman.
  -
    !record {model: res.users, id: res_sale_stock_salesman}:
      groups_id:
        - base.group_sale_salesman_all_leads
        - stock.group_stock_user
  -
     Create a user as 'Stock User'
  -
    !record {model: res.users, id: res_stock_user, view: False}:
      company_id: base.main_company
      name: Stock User
      login: sau
      password: sau
      email: stock_user@yourcompany.com
  -
    I added groups for Stock User.
  -
    !record {model: res.users, id: res_stock_user}:
      groups_id:
        - stock.group_stock_user
  -
     Create a user as 'Stock Manager'
  -
    !record {model: res.users, id: res_stock_manager, view: False}:
      company_id: base.main_company
      name: Stock Manager
      login: sam
      password: sam
      email: admin@portal.example.com
      email: stock_manager@yourcompany.com
  -
    I added groups for Stock Manager.
  -
    !record {model: res.users, id: res_stock_manager}:
      groups_id:
        - stock.group_stock_manager
  