Wednesday, May 1, 2024
1 change
Enhancements to existing features
Inventory adjustments made through the barcode app now apply a relevant accounting date consistently across selected products. The system uses the closest valid past or current date and ignores future dates, helping keep stock valuation records aligned.
Original PR description
Before this commit: ================== - When doing inventory adjustment through barcode app add some products and when press "APPLY" if any selected product have accounting date it will not set on all selected products. After this commit: ================== - When doing inventory adjustment through barcode app add some products and APPLY if there is a accounting date on one of the product or several products, take the one that is the closest from today and ignore accounting_date that are in future, this date will be applied to all selected product as accounting_date. task 3817532