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_hsn_code_digit

View 20.0
Inputs Method Outputs
  • country_code
  • has_vat
+ for record in self:
+             if record.country_code == "IN" and record.has_vat:
+                 record.l10n_in_hsn_code_digit = "4"
+             else:
+                 record.l10n_in_hsn_code_digit = False
  • l10n_in_hsn_code_digit

Back to entity