Files
Odoo-Modules/fusion-woo-odoo/fusion_woocommerce/__manifest__.py
gsinghpal 396f895ae2 fix: proper Odoo 19 dark mode detection via cookie-based theme_detect.js
Odoo 19 does NOT use .o_dark class or data-bs-theme attribute. It sets
color-scheme via SCSS and stores preference in color_scheme cookie.
Added theme_detect.js that reads the cookie and sets data-woo-theme="dark"
on <html> for reliable CSS targeting. Fixed CSS dark mode selectors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 22:21:17 -04:00

51 lines
2.0 KiB
Python

{
'name': 'Fusion WooCommerce',
'version': '19.0.1.0.0',
'category': 'Sales',
'summary': 'Bidirectional WooCommerce \u2194 Odoo sync for products, orders, invoices, and inventory',
'description': 'Seamless integration between Odoo and WooCommerce. Sync products, prices, inventory, orders, invoices, customers, and documents bidirectionally.',
'author': 'Fusion Central',
'website': 'https://fusionsoft.ca',
'license': 'LGPL-3',
'depends': ['sale_management', 'stock', 'account', 'contacts', 'mail'],
'data': [
'security/woo_security.xml',
'security/ir.model.access.csv',
'data/shipping_carriers.xml',
'data/cron.xml',
'data/mail_template.xml',
'views/woo_instance_views.xml',
'views/woo_product_map_views.xml',
'views/woo_order_views.xml',
'views/woo_sync_log_views.xml',
'views/woo_conflict_views.xml',
'views/woo_customer_views.xml',
'views/woo_return_views.xml',
'views/woo_tax_map_views.xml',
'views/woo_pricelist_map_views.xml',
'views/woo_shipping_carrier_views.xml',
'views/sale_order_views.xml',
'views/stock_picking_views.xml',
'views/res_config_settings.xml',
'views/woo_dashboard.xml',
'views/woo_menus.xml',
'wizard/woo_setup_wizard_views.xml',
'wizard/woo_product_fetch_views.xml',
],
'assets': {
'web.assets_backend': [
'fusion_woocommerce/static/src/js/theme_detect.js',
'fusion_woocommerce/static/src/css/woo_styles.css',
'fusion_woocommerce/static/src/js/ajax_search.js',
'fusion_woocommerce/static/src/js/product_mapping.js',
'fusion_woocommerce/static/src/js/dashboard.js',
'fusion_woocommerce/static/src/xml/product_mapping.xml',
'fusion_woocommerce/static/src/xml/dashboard.xml',
],
},
'images': ['static/description/icon.png'],
'installable': True,
'application': True,
'auto_install': False,
}