hunk.code_window:                     move.l10n_in_state_id = move.partner_id.state_id
                   elif country_code:
                       move.l10n_in_state_id = self.env.ref('l10n_in.state_in_oc', raise_if_not_found=False)
                   else:
                       move.l10n_in_state_id = move.company_id.state_id
               else:
                   move.l10n_in_state_id = False
       def _post(self, soft=True):
           """Use journal type to define document type because not miss state in any entry including POS entry"""
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:             elif move.country_code == 'IN' and move.journal_id.type == 'purchase':
                   move.l10n_in_state_id = move.company_id.state_id
  
hunk.file_path: addons/l10n_in/models/account_invoice.py
hunk.type: add
file: # Part of Odoo. See LICENSE file for full copyright and licensing details
  
  from odoo import fields, models
  
  
  class ReportProjectTaskUser(models.Model):
      _inherit = 'report.project.task.user'
  
      remaining_hours_so = fields.Float('Remaining Hours on SO', readonly=True)
  
      def _select(self):
          return super()._select() + """,
              sol.remaining_hours as remaining_hours_so
          """
  
      def _group_by(self):
          return super()._group_by() + """,
              sol.remaining_hours
          """
  
      def _from(self):
          return super()._from() + """
              LEFT JOIN sale_order_line sol ON t.id = sol.task_id
          """
  