hunk.code_window:                 'invoice_count': len(set(invoice_ids.ids + refund_ids.ids)),
                   'invoice_ids': invoice_ids.ids + refund_ids.ids,
                   'invoice_status': invoice_status
               })
       @api.model
       def _default_note(self):
           return self.env.user.company_id.sale_note
       @api.model
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:     @api.model
       def get_empty_list_help(self, help):
           if help:
               return '<p class=''oe_view_nocontent_create''">%s</p>' % (help)
           return super(SaleOrder, self).get_empty_list_help(help)
  
hunk.file_path: addons/sale/models/sale.py
hunk.type: add
file: <?xml version="1.0" encoding="UTF-8"?>
  <odoo>
      <data noupdate="1">
          <record id="ir_cron_update_membership" model="ir.cron">
              <field name="name">Membership: update memberships</field>
              <field name="model_id" ref="base.model_res_partner"/>
              <field name="state">code</field>
              <field name="code">model._cron_update_membership()</field>
              <field name="interval_type">days</field>
              <field name="numbercall">-1</field>
          </record>
      </data>
  </odoo>
  