hunk.code_window:         domain = []
           archive_groups = self._get_archive_groups('purchase.order', domain)
           if date_begin and date_end:
               domain += [('create_date', '>', date_begin), ('create_date', '<=', date_end)]
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:         archive_groups = self._get_archive_groups('purchase.order', domain) if values.get('my_details') else []
  
hunk.file_path: addons/purchase/controllers/portal.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from . import rating
  