hunk.code_window:             domain = [('barcode', operator, name), ('complete_name', operator, name)]
           else:
               domain = ['|', ('barcode', operator, name), ('complete_name', operator, name)]
           return self._search(expression.AND([domain, args]), limit=limit, access_rights_uid=name_get_uid)
       def _get_putaway_strategy(self, product, quantity=0, package=None, packaging=None):
           """Returns the location where the product has to be put, if any compliant
           putaway strategy is found. Otherwise returns self.
           The quantity should be in the default UOM of the product, it is used when
           no package is specified.
           """
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:     def _get_putaway_strategy(self, product, quantity=0, package=None, packaging=None, additional_qty=None):
  
hunk.file_path: addons/stock/models/stock_location.py
hunk.type: replace
file: # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  {
      'name': 'test-inherits-depends',
      'version': '0.1',
      'category': 'Hidden/Tests',
      'description': """A module to verify the inheritance using _inherits in non-original modules.""",
      'depends': ['test_inherits'],
      'data': [],
      'installable': True,
      'auto_install': False,
      'license': 'LGPL-3',
  }
  