Tuesday, June 25, 2024
1 change · saas-17.1
Enhancements to existing features
HSN code length checks now happen on invoices instead of directly on products, so each company can apply the right requirement based on its own turnover rules. Users receive a warning when an invoice contains an HSN code that does not match the company’s required precision, without blocking their workflow.
Original PR description
Before this PR: The HSN code length validation was applied at the product level, causing issues in multi-company environments where the precision of HSN codes varies based on company turnover (e.g., 4-digits, 6-digits). After this PR: Moved HSN code length validation from the product to the invoice level. Introduced a non-blocking warning banner on the account.move (invoice) when the HSN code does not meet the company's precision requirements. Task Id: 3681519