Commit Graph

8 Commits

Author SHA1 Message Date
Ali 3dc04ed092 feat: respect set_query filters in Account selection dialog
Extract link filters from the source control's set_query/df.filters
and pass them to the backend. This ensures that field-specific
constraints (e.g. root_type=Expense, company filters) are respected
when selecting accounts through the custom dialog.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 17:10:37 +04:00
Ali 3a3b850733 feat: add Account selection dialog for Link -> Account fields
Replace standard Advanced Search with a custom two-column dialog
for Account link fields: tree navigation by account groups on the
left, filterable/sortable table with Select buttons on the right.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 18:19:25 +04:00
Ali ed8c31e4ad feat: extend SelectionDialog to 11 additional DocTypes
- Add child_doctype, items_field, has_rate, warehouse_field_name,
  price_list_type, price_list_field constructor options to SelectionDialog
- No-rate mode hides price column, price list filter, discount and total
  in cart (Material Request, Stock Entry, Pick List, Request for Quotation)
- Stock Entry uses s_warehouse field; Pick List uses locations child table
- Buying documents (Purchase Order/Invoice, Supplier Quotation, Purchase
  Receipt) now use buying price list filter and buying_price_list field
- api.py: add skip_price param to skip price enrichment for no-rate docs
- hooks.py: register 11 new doctype JS integrations

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-19 15:23:32 +04:00
Ali f7e1657f1a final look 2026-02-18 20:17:31 +04:00
Ali 39213fec27 final look 2026-02-18 17:34:53 +04:00
Ali 192a449741 minor fixes and filter added 2026-02-17 20:54:51 +04:00
Ali 410216992e first commit 2026-02-17 19:42:41 +04:00
Ali 855c68b7ad feat: Initialize App 2026-02-13 17:05:16 +04:00