hunk.code_window:     def _compute_l10n_in_state_id(self):
           for move in self:
               if move.country_code == 'IN':
                   country_code = move.partner_id.country_id.code
                   if country_code == 'IN':
                       move.l10n_in_state_id = move.partner_id.state_id
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit:             if move.country_code == 'IN' and move.journal_id.type == 'sale':
  
hunk.file_path: addons/l10n_in/models/account_invoice.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from odoo import models
  
  
  class Department(models.Model):
      _inherit = 'hr.department'
  
      def name_get(self):
          # Get department name using superuser, because model is not accessible
          # for portal users
          self_sudo = self.sudo()
          return super(Department, self_sudo).name_get()
  