This fix addresses the issue where companies could be removed from a product's company_ids field even when there are existing stock quantities or stock moves associated with that company. The update adds validation checks to prevent the removal of a company under these conditions, ensuring data integrity and preventing potential inconsistencies
This fix addresses the issue where companies could be removed from a product's company_ids field even when there are existing stock quantities or stock moves associated with that company. The update adds validation checks to prevent the removal of a company under these conditions, ensuring data integrity and preventing potential inconsistencies