Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Indian - Accounting

Entity: res.company

Compute Method: _compute_l10n_in_parent_based_features

View 19.0 View 20.0
Inputs Method Outputs
  • parent_id
  • parent_id.l10n_in_tds_feature
  • parent_id.l10n_in_tcs_feature
  • parent_id.l10n_in_is_gst_registered
  • parent_id.l10n_in_gst_registration_type
for company in self:
            if company.parent_id:
                company.l10n_in_tds_feature = company.parent_id.l10n_in_tds_feature
                company.l10n_in_tcs_feature = company.parent_id.l10n_in_tcs_feature
-                 company.l10n_in_is_gst_registered = company.parent_id.l10n_in_is_gst_registered
+                 company.l10n_in_gst_registration_type = company.parent_id.l10n_in_gst_registration_type
  • l10n_in_tds_feature
  • l10n_in_tcs_feature
  • l10n_in_is_gst_registered
  • l10n_in_gst_registration_type

Back to entity