Monday, May 6, 2024
1 change · saas-17.2
Resolved issues and error corrections
This fixes an error that appeared when users clicked "Buy Credits" in the Indian GST configuration. The button now uses the updated setting name, allowing Indian companies to access the credit purchase flow without interruption.
Original PR description
With [1], we have changed the field name ``l10n_in_gstr_gst_production_env`` to ``l10n_in_edi_production_env``in some files, but its reference was still present at [2]. This causes an exception when the users follow below steps: Step to reproduce: - Install ``l10n_in_reports_gstr`` module - Switch to ``IN Company`` - Accounting > Configuration > Indian Integration > Indian GST - Click on ``Buy Credits`` Traceback: ``AttributeError: 'res.config.settings' object has no attribute 'l10n_in_gstr_gst_production_env'`` This commit will resolve the above error by changing the name of the field to ``l10n_in_edi_production_env`` at [2]. [1] : https://github.com/odoo/enterprise/commit/328c01e601d7905df3ebfb4c6b014c7dbf09fce2 [2] : https://github.com/odoo/enterprise/blob/ba99dd4c236353c43376210a9aabcb0af5bd0299/l10n_in_reports_gstr/models/res_config_settings.py#L68C9-L69C88 sentry-5287121031