Tuesday, March 4, 2025
1 change · master
Features or functions removed from Odoo
This change removes the separate Indian purchase localization component and related GST treatment fields from sales and POS flows. GST treatment is now determined centrally on invoices, so customers are marked as registered only when their GSTIN is valid, reducing incorrect tax classifications.
Original PR description
This **PR** removes l10n_in_purchase module. Also GST Treatment field and unwanted HSN Code on report has been removed from l10n_in_sale module. Along with this the logic for sending GST Treatment…
This **PR** removes l10n_in_purchase module. Also GST Treatment field and unwanted HSN Code on report has been removed from l10n_in_sale module. Along with this the logic for sending GST Treatment while preparing invoice from l10n_in_pos and l10n_in_sale has also been removed and rather this will be handled directly on account_invoice, on l10n_in, using compute method on l10n_in_gst_treatment. Additionally, the logic for compute method for l10n_in_gst_treatment on account_invoice in l10n_in has also been fixed. Before this **PR**: The current logic assigns 'Registered' treatment to an invoice if GSTIN is present on the partner. However, this approach incorrectly assigns 'Registered' treatment even when the GSTIN is invalid (e.g., '/'), which is undesirable. After this **PR**: GST treatment will be set to 'Registered' only if the GSTIN is validated. If the GSTIN is invalid or absent, the treatment will be set by default to 'Consumer'. **task**-4410142 **Upgrade PR**: https://github.com/odoo/upgrade/pull/7138