feat: initial WooDoo plugin – WooCommerce & Odoo 19 integration
- Odoo JSON-RPC client (no Composer, uses wp_remote_post) - Admin settings page under WooCommerce with connection test - Customer linking: search Odoo partners from WP user profile - My Account: Odoo Invoices tab with PDF proxy download - My Account: Book a Meeting tab (slot calculator + calendar.event) - WC order → Odoo sale.order auto-sync on processing status - Products matched by SKU; partner auto-created from billing info - Uninstall cleanup (options, user meta, order meta, DB table) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
26
assets/css/woodoo-admin.css
Normal file
26
assets/css/woodoo-admin.css
Normal file
@@ -0,0 +1,26 @@
|
||||
/* WooDoo Admin Styles */
|
||||
.woodoo-settings .nav-tab-wrapper { margin-bottom: 0; }
|
||||
.woodoo-settings .woodoo-tab { padding: 20px 0; }
|
||||
.woodoo-info-box {
|
||||
background: #fff8e1;
|
||||
border: 1px solid #ffe082;
|
||||
border-radius: 4px;
|
||||
padding: 12px 16px;
|
||||
margin-top: 16px;
|
||||
font-size: .875rem;
|
||||
max-width: 760px;
|
||||
}
|
||||
.woodoo-info-box ul { margin: .5rem 0 0 1.2rem; }
|
||||
.woodoo-info-box li { margin-bottom: 4px; }
|
||||
.woodoo-customer-linker { margin-bottom: 1.5rem; }
|
||||
.woodoo-customer-linker label { display: block; margin-bottom: 6px; font-weight: 600; }
|
||||
#woo-customer-results { margin-top: 10px; }
|
||||
.woodoo-badge {
|
||||
display: inline-block;
|
||||
padding: 3px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: .75rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.woodoo-badge--green { background: #d1fae5; color: #065f46; }
|
||||
.woodoo-badge--red { background: #fee2e2; color: #991b1b; }
|
||||
Reference in New Issue
Block a user