KamoCRM

Replace RetailCustomer with Account-based customer model

Refactorkamo-shared-library
Ya
3 Aprili 2026, 22:23 UTC
Mwandishi
Kamo
Ahadi ya
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

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei