Commit Graph
4 Commits
Author SHA1 Message Date
objecttothis f299688540 fix(tests): ensure stock location creation in item quantity tests
- Add `ensureStockLocation` method to automatically create missing stock locations during test execution.
- Update `addItemQuantity` to call `ensureStockLocation` before adding item quantity.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-21 16:40:12 +04:00
objecttothis 1932251a73 fix(items): enhance named attribute search with improved type handling
- Add support for searching named attributes with decimal and date types.
- Extend parsing logic to handle locale-specific decimal separators.
- Update `applyNamedAttributeSearch` to return consumed names for better compatibility with free-text search.
- Refine regex matching for combined attribute search syntax.
- Expand test coverage for named attribute search across various scenarios.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-21 15:41:47 +04:00
objecttothis 55fd835e70 fix(items): implement named attribute search and optimize attribute handling
- This commit harmonizes #4442 with this PR.
- Add `applyNamedAttributeSearch` method to enable searching by named attributes with specific values.
- Refactor `applyAttributeSort` to accept pre-resolved definition info, improving query integrity.
- Enhance free-text search to support combined attribute name:value syntax.
- Add tests for named attribute search and free-text parsing compatibility.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-21 14:07:25 +04:00
objecttothis 410c6649e0 refactor(items): streamline tax computation and add tests for getItemDataRow
Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-20 21:28:56 +04:00