KamoCRM

Replace RetailCustomer with Account-based customer model

Refactorkamo-shared-library
Shipped
3 ஏப்ரல், 2026 அன்று 10:23 PM UTC
Author
Kamo
Commit
acbcfb6

Account.java was already the commerce customer entity but was too minimal. RetailCustomer duplicated this concept. This commit: - Enhances Account with commerce fields: company, notes, acceptsMarketing, taxExempt, totalOrders, totalSpent, currency, externalId/Provider, isActive - Adds primaryMember ManyToOne to Member (org-scoped contact info with address, email, phone — no duplication) - Creates AccountGroup, AccountGroupMembership (replaces RetailCustomerGroup) - Creates AccountWishlist, AccountWishlistItem - Deletes entire retail.customer package (13 files) and 5 RetailCustomer DTOs - Updates RetailService customer methods to use Account (Long uid, not UUID) - Updates PriceList, Cart, DraftOrder to reference Account/AccountGroup - Updates CustomerSyncAdapter to use Account

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing