Tuesday, February 27, 2024
2 changes · saas-17.1
New functionality added to Odoo
This update adds a crucial HSN (Harmonized System Nomenclature) summary to the invoice reports for Odoo's India localization. Previously, invoices lacked this key detail, making it difficult for businesses to accurately track and report on Goods and Services Tax (GST) obligations. This change improves reporting accuracy and simplifies compliance for Odoo users in India.
Original PR description
task_id: 3196107 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#155084
Resolved issues and error corrections
This update resolves an issue where users couldn't access product catalogs correctly when viewing them through sale orders. The fix ensures the catalog requests are made within the context of the sale order's company, preventing access errors and ensuring accurate product display. This improves the user experience for multi-company operations.
Original PR description
Versions -------- - 17.0+ Steps ----- 1. Create a new company; 2. switch to it via the selector; 3. create a new product specific to the company; 4. create a sale order; 5. open the catalog via a sale order line. Issue ----- Access error Cause ----- The catalog controller loses track of the current company, so `env.company` defaults to the primary `company_id` of the user. Solution -------- Use `with_company` to update `env.company` to the order's company. opw-3690226 Forward-Port-Of: odoo/odoo#153915